diff options
Diffstat (limited to 'tests/auto/quick/qquickapplication/tst_qquickapplication.cpp')
-rw-r--r-- | tests/auto/quick/qquickapplication/tst_qquickapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickapplication/tst_qquickapplication.cpp b/tests/auto/quick/qquickapplication/tst_qquickapplication.cpp index 3526eb98be..f5812f56ee 100644 --- a/tests/auto/quick/qquickapplication/tst_qquickapplication.cpp +++ b/tests/auto/quick/qquickapplication/tst_qquickapplication.cpp @@ -217,7 +217,7 @@ void tst_qquickapplication::font() QVariant defaultFontProperty = item->property("defaultFont"); QVERIFY(defaultFontProperty.isValid()); - QCOMPARE(defaultFontProperty.type(), QVariant::Font); + QCOMPARE(defaultFontProperty.typeId(), QMetaType::QFont); QCOMPARE(defaultFontProperty.value<QFont>(), qApp->font()); } |