Doc: Fix QVariant::Type
QVariant::QString does not exist Task-number: QTBUG-56586 Change-Id: Ic5fe81fc4fc3553f9b755e067ed73c4d1bba9add Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
5b65698248
commit
4a7f3c327b
@ -69,7 +69,7 @@ myCustomObject->doSomething(); // trigger emission of the signal
|
||||
|
||||
QList<QVariant> arguments = spy.takeFirst();
|
||||
QVERIFY(arguments.at(0).type() == QVariant::Int);
|
||||
QVERIFY(arguments.at(1).type() == QVariant::QString);
|
||||
QVERIFY(arguments.at(1).type() == QVariant::String);
|
||||
QVERIFY(arguments.at(2).type() == QVariant::double);
|
||||
//! [1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user