Merge pull request #3169 from kb-1000/fix-accessibility-2

Allow compiling MultiMC using Qt builds without accessibility again
This commit is contained in:
Petr Mrázek 2020-05-30 15:34:18 +02:00 committed by GitHub
commit 03dc8ddf81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -578,7 +578,9 @@ public:
MainWindow->resize(800, 600); MainWindow->resize(800, 600);
MainWindow->setWindowIcon(MMC->getThemedIcon("logo")); MainWindow->setWindowIcon(MMC->getThemedIcon("logo"));
MainWindow->setWindowTitle("MultiMC 5"); MainWindow->setWindowTitle("MultiMC 5");
#ifndef QT_NO_ACCESSIBILITY
MainWindow->setAccessibleName("MultiMC"); MainWindow->setAccessibleName("MultiMC");
#endif
createMainToolbar(MainWindow); createMainToolbar(MainWindow);