diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-30 13:57:35 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-30 13:58:46 (GMT) |
commit | fa3cda0324324f595d0d1231027443673b7c05ea (patch) | |
tree | 8916ad1f9204006a5ace3a564810e0cd57fe1a01 /tests/auto/qgraphicsproxywidget | |
parent | 3fa5162526a2d0dba0abd00c52f44ac93f9d78f3 (diff) | |
download | Qt-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.cpp | 4 |
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(); |