diff options
author | kb1000 <kaeptmblaubaer1000@gmail.com> | 2020-05-30 15:32:38 +0200 |
---|---|---|
committer | kb1000 <kaeptmblaubaer1000@gmail.com> | 2020-05-30 15:32:38 +0200 |
commit | 79208a738347805ec31e33e461ba76ce681f57d0 (patch) | |
tree | e3042eab16ae63e71098d09151ee611d1daf9c86 /application/MainWindow.cpp | |
parent | 3680f1e599d3ae4edf66c999ea62aa9c531c6d41 (diff) | |
download | MultiMC-79208a738347805ec31e33e461ba76ce681f57d0.tar MultiMC-79208a738347805ec31e33e461ba76ce681f57d0.tar.gz MultiMC-79208a738347805ec31e33e461ba76ce681f57d0.tar.lz MultiMC-79208a738347805ec31e33e461ba76ce681f57d0.tar.xz MultiMC-79208a738347805ec31e33e461ba76ce681f57d0.zip |
Allow compiling MultiMC using Qt builds without accessibility again
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r-- | application/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 34ffc54b..48b9ed47 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -578,7 +578,9 @@ public: MainWindow->resize(800, 600); MainWindow->setWindowIcon(MMC->getThemedIcon("logo")); MainWindow->setWindowTitle("MultiMC 5"); +#ifndef QT_NO_ACCESSIBILITY MainWindow->setAccessibleName("MultiMC"); +#endif createMainToolbar(MainWindow); |