summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-06 08:15:42 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-06 08:16:41 (GMT)
commitf18ea32865521e21f47ea2745181e0e70db0266f (patch)
tree67494a648c687724869e1a3a219d72bb6f675a8c /tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
parent146988463cc0d03be415aa8ff07031b6bcf27975 (diff)
downloadQt-f18ea32865521e21f47ea2745181e0e70db0266f.zip
Qt-f18ea32865521e21f47ea2745181e0e70db0266f.tar.gz
Qt-f18ea32865521e21f47ea2745181e0e70db0266f.tar.bz2
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp')
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index edea6b8..e4eaf4e 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -7301,16 +7301,17 @@ void tst_QGraphicsItem::itemUsesExtendedStyleOption()
rect->startTrack = false;
view.show();
QTest::qWaitForWindowShown(&view);
+ QTest::qWait(60);
rect->startTrack = true;
rect->update(10, 10, 10, 10);
- QTest::qWait(12);
+ QTest::qWait(60);
rect->startTrack = false;
rect->setFlag(QGraphicsItem::ItemUsesExtendedStyleOption, true);
QVERIFY((rect->flags() & QGraphicsItem::ItemUsesExtendedStyleOption));
- QTest::qWait(12);
+ QTest::qWait(60);
rect->startTrack = true;
rect->update(10, 10, 10, 10);
- QTest::qWait(12);
+ QTest::qWait(60);
}
void tst_QGraphicsItem::itemSendsGeometryChanges()