diff options
Diffstat (limited to 'tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp')
-rw-r--r-- | tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp index 88779e8471..313cc56b0b 100644 --- a/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/benchmarks/gui/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp @@ -69,14 +69,13 @@ tst_QGraphicsItem::~tst_QGraphicsItem() static inline void processEvents() { - QApplication::flush(); QApplication::processEvents(); QApplication::processEvents(); } void tst_QGraphicsItem::initTestCase() { - QApplication::flush(); + processEvents(); QTest::qWait(1500); processEvents(); } |