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:
Stephen Kelly 2012-04-18 11:55:15 +02:00 committed by Qt by Nokia
parent 50aca3d020
commit cd2b94771c

View File

@ -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