diff --git a/autotests/integration/quick_tiling_test.cpp b/autotests/integration/quick_tiling_test.cpp index 36269dd2ac..b63e69d33b 100644 --- a/autotests/integration/quick_tiling_test.cpp +++ b/autotests/integration/quick_tiling_test.cpp @@ -768,8 +768,7 @@ void QuickTilingTest::testScript() QCOMPARE(c->quickTileMode(), expectedMode); // but we got requested a new geometry - QVERIFY(sizeChangeSpy.wait()); - QCOMPARE(sizeChangeSpy.count(), 1); + QTRY_COMPARE(sizeChangeSpy.count(), 1); QCOMPARE(sizeChangeSpy.first().first().toSize(), expectedGeometry.size()); // attach a new image