summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/styles')
-rw-r--r--src/widgets/styles/qstylehelper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/styles/qstylehelper.cpp b/src/widgets/styles/qstylehelper.cpp
index 8d67683eae..c6e9a8d013 100644
--- a/src/widgets/styles/qstylehelper.cpp
+++ b/src/widgets/styles/qstylehelper.cpp
@@ -99,6 +99,9 @@ bool hasAncestor(QObject *obj, QAccessible::Role role)
delete iface;
parent = parent->parent();
}
+#else
+ Q_UNUSED(obj)
+ Q_UNUSED(role)
#endif // QT_NO_ACCESSIBILITY
return found;
}