diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-15 13:45:14 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-15 13:45:14 (GMT) |
commit | 2eee73e843ba7b4c6e83bd6bfaa08994520c417d (patch) | |
tree | 13990020ee6864f13ee5887c1c2e18c4a199ab03 /tests/auto/qgraphicslinearlayout | |
parent | 038434b66a473c08e78dc40376c5890dd1af938f (diff) | |
download | Qt-2eee73e843ba7b4c6e83bd6bfaa08994520c417d.zip Qt-2eee73e843ba7b4c6e83bd6bfaa08994520c417d.tar.gz Qt-2eee73e843ba7b4c6e83bd6bfaa08994520c417d.tar.bz2 |
Compilation of the QGraphicsAnchorLayout test on 64bit
+ stabilize the linear layout test
Diffstat (limited to 'tests/auto/qgraphicslinearlayout')
-rw-r--r-- | tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp index 4f28df4..8e7bb45 100644 --- a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp +++ b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp @@ -146,7 +146,7 @@ void tst_QGraphicsLinearLayout::initTestCase() // since the style will influence the results, we have to ensure // that the tests are run using the same style on all platforms #ifdef Q_WS_S60 - QApplication::setStyle(new QWindowsStyle); + QApplication::setStyle(new QWindowsStyle); #else QApplication::setStyle(new QPlastiqueStyle); #endif @@ -332,6 +332,7 @@ void tst_QGraphicsLinearLayout::alignment() widget->resize(newSize); view.show(); widget->show(); + QTest::qWaitForWindowShown(&view); QApplication::processEvents(); int x = 0; |