summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-05-06 06:06:43 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-05-07 01:02:40 (GMT)
commit705a6ee8f08b1c0b360f1438301ce049e96ed450 (patch)
treea81512cca5e98e65a8928b59e27c8f9fe136892f /tests/auto
parentd7ef9666e2a3c8d06c5f32b7f47f602b177a74f6 (diff)
downloadQt-705a6ee8f08b1c0b360f1438301ce049e96ed450.zip
Qt-705a6ee8f08b1c0b360f1438301ce049e96ed450.tar.gz
Qt-705a6ee8f08b1c0b360f1438301ce049e96ed450.tar.bz2
Fix autotest bug in MouseArea
Reviewed-by: Martin Jones
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp b/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp
index 96e6b8c..ff3bf45 100644
--- a/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp
+++ b/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp
@@ -322,7 +322,7 @@ void tst_QDeclarativeMouseArea::noOnClickedWithPressAndHold()
QTest::qWait(1000);
- QGraphicsSceneMouseEvent releaseEvent(QEvent::GraphicsSceneMousePress);
+ QGraphicsSceneMouseEvent releaseEvent(QEvent::GraphicsSceneMouseRelease);
releaseEvent.setScenePos(QPointF(100, 100));
releaseEvent.setButton(Qt::LeftButton);
releaseEvent.setButtons(Qt::LeftButton);