diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-07-21 21:12:05 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-07-22 01:40:52 +0200 |
commit | d6c665387233e894a27c0b33e4b49e5d1d229aeb (patch) | |
tree | 0e22463970ba5e08d5dbf5e1f2403b0a98f03a1d /application/MultiMC.cpp | |
parent | 3b32730526512be8d672931afe860e0baff76a28 (diff) | |
download | MultiMC-d6c665387233e894a27c0b33e4b49e5d1d229aeb.tar MultiMC-d6c665387233e894a27c0b33e4b49e5d1d229aeb.tar.gz MultiMC-d6c665387233e894a27c0b33e4b49e5d1d229aeb.tar.lz MultiMC-d6c665387233e894a27c0b33e4b49e5d1d229aeb.tar.xz MultiMC-d6c665387233e894a27c0b33e4b49e5d1d229aeb.zip |
NOISSUE Add basic accessibility support to GroupView
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r-- | application/MultiMC.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index 179839fe..34aa9b56 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -2,6 +2,10 @@ #include "BuildConfig.h" #include "MainWindow.h" #include "InstanceWindow.h" + +#include "groupview/AccessibleGroupView.h" +#include <QAccessible> + #include "pages/BasePageProvider.h" #include "pages/global/MultiMCPage.h" #include "pages/global/MinecraftPage.h" @@ -531,6 +535,8 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv) qDebug() << "<> Settings loaded."; } + QAccessible::installFactory(groupViewAccessibleFactory); + // load translations { m_translations.reset(new TranslationsModel("translations")); |