Fix warning about unused variable in tst_qvariant.
Change-Id: I9e713aa6a2033c5c4cd4b97bbd4ebb461d46962a Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com>
This commit is contained in:
parent
c283d78a1d
commit
06906ce40d
@ -380,6 +380,7 @@ struct MessageHandlerInvalidType
|
||||
|
||||
static void handler(QtMsgType type, const char *txt)
|
||||
{
|
||||
Q_UNUSED(type);
|
||||
QString msg = QString::fromLatin1(txt);
|
||||
// uint(-1) can be platform dependent so we check only beginning of the message.
|
||||
ok = msg.startsWith("Trying to construct an instance of an invalid type, type id:");
|
||||
|
Loading…
Reference in New Issue
Block a user