diff options
-rw-r--r-- | src/gui/kernel/qapplication_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index dd4aace..85b6bf8 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -4064,8 +4064,8 @@ bool QApplicationPrivate::translateTouchEvent(const MSG &msg) state |= Qt::TouchPointPrimary; touchPoint.setState(state); touchPoint.setScreenRect(screenRect); - touchPoint.setNormalizedPos(screenPos.x() / screenGeometry.width(), - screenPos.y() / screenGeometry.height()); + touchPoint.setNormalizedPos(QPointF(screenPos.x() / screenGeometry.width(), + screenPos.y() / screenGeometry.height())); allStates |= state; |