diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-23 12:27:15 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-23 12:27:15 (GMT) |
commit | d8b81cad37e9477e609bbbedf0e666163bbbd813 (patch) | |
tree | a5d3366237b80767d4604b304f42e4bcfbd707ac /src/gui/kernel/qapplication_win.cpp | |
parent | 33173f93746aec7771ade4c7f508d52dc19a3d2d (diff) | |
download | Qt-d8b81cad37e9477e609bbbedf0e666163bbbd813.zip Qt-d8b81cad37e9477e609bbbedf0e666163bbbd813.tar.gz Qt-d8b81cad37e9477e609bbbedf0e666163bbbd813.tar.bz2 |
Compile on Windows
Diffstat (limited to 'src/gui/kernel/qapplication_win.cpp')
-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; |