aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickimage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickimage')
-rw-r--r--tests/auto/quick/qquickimage/tst_qquickimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickimage/tst_qquickimage.cpp b/tests/auto/quick/qquickimage/tst_qquickimage.cpp
index 51ac5c640a..531bf1202e 100644
--- a/tests/auto/quick/qquickimage/tst_qquickimage.cpp
+++ b/tests/auto/quick/qquickimage/tst_qquickimage.cpp
@@ -701,7 +701,7 @@ void tst_qquickimage::imageCrash_QTBUG_22125()
}
// shouldn't crash when deleting cancelled QQmlPixmapReplys.
- QTest::qWait(520); // Delay mode delays for 500 ms.
+ server.sendDelayedItem();
QCoreApplication::sendPostedEvents(0, QEvent::DeferredDelete);
QCoreApplication::processEvents();
}