summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-10-22 12:40:41 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-10-22 12:42:36 (GMT)
commiteacd7e9e54b1beba617ddfe760e4e3742634a5b6 (patch)
tree417eafa0ecf7c58eebc2599d9668435f3a1a5bfd
parent16bbc29010be59131c792a1f0c08e91c2166ebf0 (diff)
downloadQt-eacd7e9e54b1beba617ddfe760e4e3742634a5b6.zip
Qt-eacd7e9e54b1beba617ddfe760e4e3742634a5b6.tar.gz
Qt-eacd7e9e54b1beba617ddfe760e4e3742634a5b6.tar.bz2
Fixed a newly added autotest for QGraphicsView hover_leave.
This should fix autotests regression on all platforms. There was a very silly typo in the test.
-rw-r--r--tests/auto/qgraphicsview/tst_qgraphicsview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp
index 433cb26..a53f04d 100644
--- a/tests/auto/qgraphicsview/tst_qgraphicsview.cpp
+++ b/tests/auto/qgraphicsview/tst_qgraphicsview.cpp
@@ -4437,7 +4437,7 @@ void tst_QGraphicsView::hoverLeave()
view.show();
QTest::qWaitForWindowShown(&view);
- QPoint pos = view.mapToGlobal(view.viewport()->mapToGlobal(view.mapFromScene(item->mapToScene(10, 10))));
+ QPoint pos = view.viewport()->mapToGlobal(view.mapFromScene(item->mapToScene(10, 10)));
QCursor::setPos(pos);
QTest::qWait(200);
QVERIFY(item->receivedEnterEvent);