diff --git a/autotests/integration/quick_tiling_test.cpp b/autotests/integration/quick_tiling_test.cpp index 52adf8c880..ffee16ce20 100644 --- a/autotests/integration/quick_tiling_test.cpp +++ b/autotests/integration/quick_tiling_test.cpp @@ -678,8 +678,7 @@ void QuickTilingTest::testShortcut() 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