diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-06 10:15:42 +0200 |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-06 10:16:41 +0200 |
commit | f18ea32865521e21f47ea2745181e0e70db0266f (patch) | |
tree | 67494a648c687724869e1a3a219d72bb6f675a8c /tests/auto/qwidget/tst_qwidget.cpp | |
parent | 146988463cc0d03be415aa8ff07031b6bcf27975 (diff) |
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qwidget/tst_qwidget.cpp')
-rw-r--r-- | tests/auto/qwidget/tst_qwidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index 92658a6d0e..5ab273cc3d 100644 --- a/tests/auto/qwidget/tst_qwidget.cpp +++ b/tests/auto/qwidget/tst_qwidget.cpp @@ -9118,7 +9118,7 @@ void tst_QWidget::paintOutsidePaintEvent() widget.show(); QTest::qWaitForWindowShown(&widget); - QTest::qWait(20); + QTest::qWait(60); const QPixmap before = QPixmap::grabWindow(widget.winId()); @@ -9128,6 +9128,7 @@ void tst_QWidget::paintOutsidePaintEvent() painter.fillRect(child1.rect(), Qt::red); painter.end(); XSync(QX11Info::display(), false); // Flush output buffer. + QTest::qWait(60); const QPixmap after = QPixmap::grabWindow(widget.winId()); |