aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2020-11-03 18:48:13 +0100
committerDavid Skoland <david.skoland@qt.io>2020-11-04 11:12:25 +0100
commit89ee1a33cb373709af9de565902e97c0299d3bee (patch)
tree1f37375d0360cc9032e4825293537b16ccf1457a /tests/auto/quick
parent8ae632bbbc12f9751c8a55692687aff73ca01d77 (diff)
Update MetaType things in tests
Also fix some minute errors. Change-Id: I1815224a6efdd7e619dfe5a5911d8b1166a3b3c8 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/quick')
-rw-r--r--tests/auto/quick/qquickaccessible/tst_qquickaccessible.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickaccessible/tst_qquickaccessible.cpp b/tests/auto/quick/qquickaccessible/tst_qquickaccessible.cpp
index cde228f6c4..09640dc37d 100644
--- a/tests/auto/quick/qquickaccessible/tst_qquickaccessible.cpp
+++ b/tests/auto/quick/qquickaccessible/tst_qquickaccessible.cpp
@@ -208,10 +208,10 @@ void tst_QQuickAccessible::quickAttachedProperties()
QCOMPARE(p.isNull(), false);
QCOMPARE(p.toInt(), int(QAccessible::PushButton));
p = attachedObject->property("name");
- QCOMPARE(p.type(), QMetaType::QString);
+ QCOMPARE(p.typeId(), QMetaType::QString);
QVERIFY2(p.value<QString>().isEmpty(), QTest::toString(p));
p = attachedObject->property("description");
- QCOMPARE(p.type(), QMetaType::QString);
+ QCOMPARE(p.typeId(), QMetaType::QString);
QVERIFY2(p.value<QString>().isEmpty(), QTest::toString(p));
QCOMPARE(attachedObject->wasNameExplicitlySet(), false);
}