diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-23 14:27:15 +0200 |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-23 14:27:15 +0200 |
commit | d8b81cad37e9477e609bbbedf0e666163bbbd813 (patch) | |
tree | a5d3366237b80767d4604b304f42e4bcfbd707ac /src/gui/kernel/qapplication_win.cpp | |
parent | 33173f93746aec7771ade4c7f508d52dc19a3d2d (diff) | |
download | qt4-tools-d8b81cad37e9477e609bbbedf0e666163bbbd813.tar.gz |
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 dd4aace841..85b6bf8965 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; |