summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget/tst_qwidget.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-23 13:30:31 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-23 13:30:31 +0200
commit767e833c6cd83e233adf00acea15a2581e905299 (patch)
tree719b032bc6612b4c0112d96b56079f46cbce6e84 /tests/auto/qwidget/tst_qwidget.cpp
parentb50c1540cc06860aab0d46f27566dce6d9fc53cf (diff)
Fix tst_QWidget::showMaximized on X11
On X11 We have to wait we get the size change from the window manager Reviewed-by: Jason Barron
Diffstat (limited to 'tests/auto/qwidget/tst_qwidget.cpp')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index 6cfa23b3cf..b7ffd15f2a 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -2000,7 +2000,7 @@ void tst_QWidget::showMaximized()
QWidget widget;
widget.setGeometry(0, 0, 10, 10);
widget.showMaximized();
- QVERIFY(widget.size().width() > 20 && widget.size().height() > 20);
+ QTRY_VERIFY(widget.size().width() > 20 && widget.size().height() > 20);
}
#ifdef QT3_SUPPORT