Fix some unused variable warnings.
Change-Id: I3ffbb155c0efa65bb33a0e2ce80dbd75dc56f3fc Reviewed-by: David Faure <faure@kde.org> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
parent
50aca3d020
commit
cd2b94771c
@ -839,6 +839,9 @@ static void customStreamDebug(QDebug dbg, const QVariant &variant) {
|
||||
QMetaType::TypeFlags flags = QMetaType::typeFlags(variant.userType());
|
||||
if (flags & QMetaType::PointerToQObject)
|
||||
dbg.nospace() << variant.value<QObject*>();
|
||||
#else
|
||||
Q_UNUSED(dbg);
|
||||
Q_UNUSED(variant);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user