From d8b81cad37e9477e609bbbedf0e666163bbbd813 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Tue, 23 Jun 2009 14:27:15 +0200 Subject: Compile on Windows --- src/gui/kernel/qapplication_win.cpp | 4 ++-- 1 file 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; -- cgit v0.12