summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgridlayout
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-02 07:47:16 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-02 07:47:16 (GMT)
commitf51b454100b4145350617ab3ff13bbf596deb2dc (patch)
treec1aa19201f57091c638c28d9ac9173f990c9b02e /tests/auto/qgridlayout
parentea6d4e94c802f648e296eec0bde1661728d82024 (diff)
downloadQt-f51b454100b4145350617ab3ff13bbf596deb2dc.zip
Qt-f51b454100b4145350617ab3ff13bbf596deb2dc.tar.gz
Qt-f51b454100b4145350617ab3ff13bbf596deb2dc.tar.bz2
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qgridlayout')
-rw-r--r--tests/auto/qgridlayout/tst_qgridlayout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qgridlayout/tst_qgridlayout.cpp b/tests/auto/qgridlayout/tst_qgridlayout.cpp
index 3c7e1fb..7c320be 100644
--- a/tests/auto/qgridlayout/tst_qgridlayout.cpp
+++ b/tests/auto/qgridlayout/tst_qgridlayout.cpp
@@ -884,6 +884,7 @@ void tst_QGridLayout::minMaxSize()
for (int pass = 0; pass < 2; ++pass) {
m_toplevel->hide();
QApplication::processEvents();
+ QTest::qWait(20);
// Test if removeItem uninitializes data properly
while (m_grid->count()) {
QLayoutItem *item = m_grid->itemAt(0);