summaryrefslogtreecommitdiffstats
path: root/application/MainWindow.cpp
diff options
context:
space:
mode:
authorkb1000 <kaeptmblaubaer1000@gmail.com>2020-05-30 15:32:38 +0200
committerkb1000 <kaeptmblaubaer1000@gmail.com>2020-05-30 15:32:38 +0200
commit79208a738347805ec31e33e461ba76ce681f57d0 (patch)
treee3042eab16ae63e71098d09151ee611d1daf9c86 /application/MainWindow.cpp
parent3680f1e599d3ae4edf66c999ea62aa9c531c6d41 (diff)
downloadMultiMC-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.cpp2
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);