diff options
-rw-r--r-- | tests/auto/qgraphicsview/tst_qgraphicsview.cpp | 2 |
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); |