summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsscene
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-01 08:03:26 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-01 08:11:51 (GMT)
commit91b58202c089ea8f4e150717cee8dbc40b8f903c (patch)
treed23fd5c1e0cd38899569f016f516aca15b2c15ec /tests/auto/qgraphicsscene
parentac36357a8aa2a33491d1c308ade0a63a89a6590e (diff)
downloadQt-91b58202c089ea8f4e150717cee8dbc40b8f903c.zip
Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.gz
Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.bz2
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qgraphicsscene')
-rw-r--r--tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
index 864076f..90477f0 100644
--- a/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
+++ b/tests/auto/qgraphicsscene/tst_qgraphicsscene.cpp
@@ -1357,8 +1357,9 @@ void tst_QGraphicsScene::removeItem()
QVERIFY(!hoverItem->isHovered);
{
- QTest::mouseMove(view.viewport(), view.mapFromScene(hoverItem->scenePos()), Qt::NoButton);
QTest::qWait(250);
+ QTest::mouseMove(view.viewport(), view.mapFromScene(hoverItem->scenePos()), Qt::NoButton);
+ QTest::qWait(10);
QMouseEvent moveEvent(QEvent::MouseMove, view.mapFromScene(hoverItem->scenePos()), Qt::NoButton, 0, 0);
QApplication::sendEvent(view.viewport(), &moveEvent);
}