summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.cpp
diff options
context:
space:
mode:
authorkb1000 <kaeptmblaubaer1000@gmail.com>2019-10-01 14:28:06 +0200
committerkb1000 <kaeptmblaubaer1000@gmail.com>2019-10-01 14:28:06 +0200
commitdec6759e61cc844802b4eb105fed957c151e96ac (patch)
treeb3c5091fe1d12f978c31e3fe82040e28e70ab913 /application/MultiMC.cpp
parentce7917048a2bdac7e74548a849a518fcf83226fa (diff)
downloadMultiMC-dec6759e61cc844802b4eb105fed957c151e96ac.tar
MultiMC-dec6759e61cc844802b4eb105fed957c151e96ac.tar.gz
MultiMC-dec6759e61cc844802b4eb105fed957c151e96ac.tar.lz
MultiMC-dec6759e61cc844802b4eb105fed957c151e96ac.tar.xz
MultiMC-dec6759e61cc844802b4eb105fed957c151e96ac.zip
Add checks for QT_NO_ACCESSIBILITY to prevent build issues with Qt without accessibility
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r--application/MultiMC.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index c95d85be..a7b06ead 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -535,7 +535,9 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
qDebug() << "<> Settings loaded.";
}
+#ifndef QT_NO_ACCESSIBILITY
QAccessible::installFactory(groupViewAccessibleFactory);
+#endif /* !QT_NO_ACCESSIBILITY */
// load translations
{