summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsproxywidget
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-30 13:57:35 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-30 13:58:46 (GMT)
commitfa3cda0324324f595d0d1231027443673b7c05ea (patch)
tree8916ad1f9204006a5ace3a564810e0cd57fe1a01 /tests/auto/qgraphicsproxywidget
parent3fa5162526a2d0dba0abd00c52f44ac93f9d78f3 (diff)
downloadQt-fa3cda0324324f595d0d1231027443673b7c05ea.zip
Qt-fa3cda0324324f595d0d1231027443673b7c05ea.tar.gz
Qt-fa3cda0324324f595d0d1231027443673b7c05ea.tar.bz2
Stabilize more test on X11
Each times the test are run, pulse show different failures.
Diffstat (limited to 'tests/auto/qgraphicsproxywidget')
-rw-r--r--tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
index 5c0073c..6e60516 100644
--- a/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
+++ b/tests/auto/qgraphicsproxywidget/tst_qgraphicsproxywidget.cpp
@@ -1491,9 +1491,7 @@ void tst_QGraphicsProxyWidget::scrollUpdate()
View view(&scene);
view.show();
-#ifdef Q_WS_X11
- qt_x11_wait_for_window_manager(&view);
-#endif
+ QTest::qWaitForWindowShown(&view);
QTRY_VERIFY(view.npaints >= 1);
QTest::qWait(20);
widget->paintEventRegion = QRegion();