diff options
author | Brett Stottlemyer <bstottle@ford.com> | 2021-02-13 15:19:49 -0500 |
---|---|---|
committer | Brett Stottlemyer <bstottle@ford.com> | 2021-02-15 14:15:00 -0500 |
commit | 8fcc330ac5bbe1dc7faa72a2343f82d47ffb41fa (patch) | |
tree | 6e9891da2442d2be6613056a55d53cc3b8830f4e /tests/auto/integration/tst_integration.cpp | |
parent | 306edc01e133bd3addf219923a9bb755cdda57e9 (diff) |
Fix QMetaType Deprecation warnings
Change-Id: If7de5da3e7ad6d345e8b483486bb7177bccbc0df
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/integration/tst_integration.cpp')
-rw-r--r-- | tests/auto/integration/tst_integration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/integration/tst_integration.cpp b/tests/auto/integration/tst_integration.cpp index d1ce6ec..d7d7cdd 100644 --- a/tests/auto/integration/tst_integration.cpp +++ b/tests/auto/integration/tst_integration.cpp @@ -828,7 +828,7 @@ private slots: QCOMPARE(call.error(), QRemoteObjectPendingCall::InvalidMessage); QVERIFY(call.waitForFinished()); QVERIFY(call.isFinished()); - QCOMPARE(call.returnValue().type(), QVariant::Bool); + QCOMPARE(call.returnValue().metaType(), QMetaType::fromType<bool>()); QCOMPARE(call.returnValue().toBool(), true); started = property.read(engine_r.data()).value<bool>(); QCOMPARE(started, true); @@ -874,7 +874,7 @@ private slots: QVERIFY(getCall.waitForFinished()); QVERIFY(getCall.isFinished()); QCOMPARE(getCall.error(), QRemoteObjectPendingCall::NoError); - QCOMPARE(getCall.returnValue().type(), QVariant::String); + QCOMPARE(getCall.returnValue().metaType(), QMetaType::fromType<QString>()); QCOMPARE(getCall.returnValue().toString(), s); } |