diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-19 07:43:54 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-19 07:43:54 (GMT) |
commit | 9da9e6f9bcead138297765b2782f73b68799827a (patch) | |
tree | d677d27343892186a8a70366f848f6d78772451e /tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp | |
parent | 14f85a02b7c13b0afc1195df815093640fd7b83e (diff) | |
download | Qt-9da9e6f9bcead138297765b2782f73b68799827a.zip Qt-9da9e6f9bcead138297765b2782f73b68799827a.tar.gz Qt-9da9e6f9bcead138297765b2782f73b68799827a.tar.bz2 |
Fix one "failure" on the mac.
This failed on Alexis' Mac Mini (Leopard)
Diffstat (limited to 'tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp')
-rw-r--r-- | tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp b/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp index dcda12d..624e80d 100644 --- a/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp +++ b/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp @@ -730,6 +730,9 @@ void tst_QGraphicsAnchorLayout::setSpacing() p->show(); QApplication::processEvents(); +#ifdef Q_WS_MAC + QTest::qWait(200); +#endif QCOMPARE(a->geometry(), QRectF(0, 0, 20, 20)); QCOMPARE(b->geometry(), QRectF(21, 0, 20, 20)); QCOMPARE(c->geometry(), QRectF(0, 21, 41, 20)); |