summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-23 11:30:31 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-23 11:30:31 (GMT)
commit767e833c6cd83e233adf00acea15a2581e905299 (patch)
tree719b032bc6612b4c0112d96b56079f46cbce6e84 /tests
parentb50c1540cc06860aab0d46f27566dce6d9fc53cf (diff)
downloadQt-767e833c6cd83e233adf00acea15a2581e905299.zip
Qt-767e833c6cd83e233adf00acea15a2581e905299.tar.gz
Qt-767e833c6cd83e233adf00acea15a2581e905299.tar.bz2
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')
-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 6cfa23b..b7ffd15 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