Fix warnings about unused variables in stylehelper.

Change-Id: I6f18fff5277a95301a525209b7d45f0d4f182b97
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
Friedemann Kleint 2012-11-07 14:56:59 +01:00 committed by The Qt Project
parent 92fd0fc6bc
commit 6dffbccbf3

View File

@ -99,6 +99,9 @@ bool hasAncestor(QObject *obj, QAccessible::Role role)
delete iface; delete iface;
parent = parent->parent(); parent = parent->parent();
} }
#else
Q_UNUSED(obj)
Q_UNUSED(role)
#endif // QT_NO_ACCESSIBILITY #endif // QT_NO_ACCESSIBILITY
return found; return found;
} }