diff options
-rw-r--r-- | src/gui/graphicsview/qgraphicsview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsview.cpp b/src/gui/graphicsview/qgraphicsview.cpp index 1c081cf..a96eabf 100644 --- a/src/gui/graphicsview/qgraphicsview.cpp +++ b/src/gui/graphicsview/qgraphicsview.cpp @@ -320,7 +320,7 @@ static void qt_convertTouchEventToGraphicsSceneTouchEvent(QGraphicsViewPrivate * // the scene will set the startPos before delivering to an item touchPoint->setStartScenePos(d->mapToScene(touchPoint->startPos())); // the scene will set the lastPos before delivering to an item - touchPoint->setLastScenePos(d->mapToScene(touchPoint->lastScreenPos())); + touchPoint->setLastScenePos(d->mapToScene(touchPoint->lastPos())); // lastScreenPos is already set in the originalTouchPoint touchPoints.append(touchPoint); |