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:
parent
92fd0fc6bc
commit
6dffbccbf3
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user