summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsanchorlayout
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-19 09:43:54 +0200
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-19 09:43:54 +0200
commit9da9e6f9bcead138297765b2782f73b68799827a (patch)
treed677d27343892186a8a70366f848f6d78772451e /tests/auto/qgraphicsanchorlayout
parent14f85a02b7c13b0afc1195df815093640fd7b83e (diff)
Fix one "failure" on the mac.
This failed on Alexis' Mac Mini (Leopard)
Diffstat (limited to 'tests/auto/qgraphicsanchorlayout')
-rw-r--r--tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp b/tests/auto/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp
index dcda12dfe0..624e80daf3 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));