Fix compile with QT_NO_SHORTCUT
Change-Id: Ib11f2e01fecb0c231211c92e4590cbaddc76246f Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
parent
a9fcfa648a
commit
5f03e89b74
@ -433,8 +433,8 @@ QAccessibleDisplay::relations(QAccessible::Relation match /*= QAccessible::AllRe
|
||||
#ifndef QT_NO_SHORTCUT
|
||||
if (QLabel *label = qobject_cast<QLabel*>(object())) {
|
||||
relatedObjects.append(label->buddy());
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
for (int i = 0; i < relatedObjects.count(); ++i) {
|
||||
const QAccessible::Relation rel = QAccessible::Labelled;
|
||||
QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(relatedObjects.at(i));
|
||||
|
Loading…
x
Reference in New Issue
Block a user