diff options
author | kb1000 <kaeptmblaubaer1000@gmail.com> | 2019-10-01 14:28:06 +0200 |
---|---|---|
committer | kb1000 <kaeptmblaubaer1000@gmail.com> | 2019-10-01 14:28:06 +0200 |
commit | dec6759e61cc844802b4eb105fed957c151e96ac (patch) | |
tree | b3c5091fe1d12f978c31e3fe82040e28e70ab913 /application/groupview/AccessibleGroupView.cpp | |
parent | ce7917048a2bdac7e74548a849a518fcf83226fa (diff) | |
download | MultiMC-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/groupview/AccessibleGroupView.cpp')
-rw-r--r-- | application/groupview/AccessibleGroupView.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/application/groupview/AccessibleGroupView.cpp b/application/groupview/AccessibleGroupView.cpp index 9a1bb821..c6541f18 100644 --- a/application/groupview/AccessibleGroupView.cpp +++ b/application/groupview/AccessibleGroupView.cpp @@ -6,6 +6,8 @@ #include <qaccessible.h> #include <qheaderview.h> +#ifndef QT_NO_ACCESSIBILITY + QAccessibleInterface *groupViewAccessibleFactory(const QString &classname, QObject *object) { QAccessibleInterface *iface = 0; @@ -772,3 +774,5 @@ QAccessibleInterface *AccessibleGroupViewItem::child(int) const { return 0; } + +#endif /* !QT_NO_ACCESSIBILITY */ |