From eacd7e9e54b1beba617ddfe760e4e3742634a5b6 Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Fri, 22 Oct 2010 14:40:41 +0200 Subject: 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. --- tests/auto/qgraphicsview/tst_qgraphicsview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12