diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-01 08:03:26 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-01 08:11:51 (GMT) |
commit | 91b58202c089ea8f4e150717cee8dbc40b8f903c (patch) | |
tree | d23fd5c1e0cd38899569f016f516aca15b2c15ec /tests/auto/qgraphicsproxywidget | |
parent | ac36357a8aa2a33491d1c308ade0a63a89a6590e (diff) | |
download | Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.zip Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.gz Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.bz2 |
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qgraphicsproxywidget')
-rw-r--r-- | tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp index 6e60516..00fae2f 100644 --- a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp +++ b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp @@ -1301,12 +1301,12 @@ void tst_QGraphicsProxyWidget::paintEvent() scene.addItem(&proxy); //make sure we flush all the paint events - QApplication::processEvents(); + QTest::qWait(70); QTRY_VERIFY(proxy.paintCount > 1); proxy.paintCount = 0; w->update(); - QApplication::processEvents(); + QTest::qWait(30); QTRY_COMPARE(proxy.paintCount, 1); //the widget should have been painted now } |