summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-05-01 21:38:09 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-05-01 21:38:09 (GMT)
commit1d021032f6920fe90bc23a028ae15ab434868363 (patch)
treed03fbde992158177aeb22d83e0412c58f189197b /src/gui/kernel
parent36a5ecba6ca65e8445fa9b391e239f62c2002159 (diff)
parentfef0ec67bf1b49221b3f383f6ea1c9a65fc08c57 (diff)
downloadQt-1d021032f6920fe90bc23a028ae15ab434868363.zip
Qt-1d021032f6920fe90bc23a028ae15ab434868363.tar.gz
Qt-1d021032f6920fe90bc23a028ae15ab434868363.tar.bz2
Merge remote branch 'origin/4.6' into qt-4.7-from-4.6
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 5f7813b..f4c7304 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -440,7 +440,7 @@ void QSymbianControl::translateAdvancedPointerEvent(const TAdvancedPointerEvent
state |= Qt::TouchPointPrimary;
touchPoint.setState(state);
- QPointF screenPos = QPointF(event->iPosition.iX, event->iPosition.iY);
+ QPointF screenPos = qwidget->mapToGlobal(QPoint(event->iPosition.iX, event->iPosition.iY));
touchPoint.setScreenPos(screenPos);
touchPoint.setNormalizedPos(QPointF(screenPos.x() / screenGeometry.width(),
screenPos.y() / screenGeometry.height()));