diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2012-11-07 14:56:59 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-09 13:44:45 +0100 |
commit | 6dffbccbf3045d928ffcc3af0d2c659c1a3b8b1f (patch) | |
tree | ef659877ca4281d04367643cf9b3d001968d61b3 /src/widgets/styles | |
parent | 92fd0fc6bc6552b1a7a394801a4228515b530d5e (diff) |
Fix warnings about unused variables in stylehelper.
Change-Id: I6f18fff5277a95301a525209b7d45f0d4f182b97
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/widgets/styles')
-rw-r--r-- | src/widgets/styles/qstylehelper.cpp | 3 |
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; } |