diff --git a/tests/storagetest.cpp b/tests/storagetest.cpp index 79c7c3f2c..abcbeadf1 100644 --- a/tests/storagetest.cpp +++ b/tests/storagetest.cpp @@ -59,7 +59,7 @@ void StorageTest::retrieve() QVERIFY(storageJob); if (storageJob) { QVERIFY(storageJob->exec()); - QVERIFY(storageJob->result().toBool()); + QVERIFY(storageJob->result().type() != QVariant::Bool); QCOMPARE(storageJob->data(), m_data); } }