diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-06 08:15:42 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-06 08:16:41 (GMT) |
commit | f18ea32865521e21f47ea2745181e0e70db0266f (patch) | |
tree | 67494a648c687724869e1a3a219d72bb6f675a8c /tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp | |
parent | 146988463cc0d03be415aa8ff07031b6bcf27975 (diff) | |
download | Qt-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.cpp | 7 |
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() |