# HG changeset patch # User Eckhart Koeppen # Date 1272543316 -10800 # Node ID 4b6ee5efea19f6b3753d221afc3c3469677d0402 # Parent b25b6dc3ff8b784f5f0849415e804ba6fe912a89 2010-17 9996a03743ab23f83c83c5bc7ade0f82f71b1506 diff -r b25b6dc3ff8b -r 4b6ee5efea19 VERSION.SHA1 --- a/VERSION.SHA1 Wed Apr 28 13:15:16 2010 +0300 +++ b/VERSION.SHA1 Thu Apr 29 15:15:16 2010 +0300 @@ -1,1 +1,1 @@ -8b4fb6db9a24f58dafbd4734d9c4a87a72f9ad8f +9996a03743ab23f83c83c5bc7ade0f82f71b1506 diff -r b25b6dc3ff8b -r 4b6ee5efea19 src/gui/kernel/qapplication_s60.cpp --- a/src/gui/kernel/qapplication_s60.cpp Wed Apr 28 13:15:16 2010 +0300 +++ b/src/gui/kernel/qapplication_s60.cpp Thu Apr 29 15:15:16 2010 +0300 @@ -440,7 +440,7 @@ 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()));