diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-23 11:30:31 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-23 11:30:31 (GMT) |
commit | 767e833c6cd83e233adf00acea15a2581e905299 (patch) | |
tree | 719b032bc6612b4c0112d96b56079f46cbce6e84 | |
parent | b50c1540cc06860aab0d46f27566dce6d9fc53cf (diff) | |
download | Qt-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
-rw-r--r-- | tests/auto/qwidget/tst_qwidget.cpp | 2 |
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 |