summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-18 12:23:51 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-18 12:23:51 (GMT)
commitabf9213b649947420ef1ba0b74c0437cbd249f90 (patch)
tree4186dc2729a443a5f31d61f3f1abc5d0d3b03de0 /src
parente6e60b096bb8b5e5073e32220c74810e80bf2d25 (diff)
downloadQt-abf9213b649947420ef1ba0b74c0437cbd249f90.zip
Qt-abf9213b649947420ef1ba0b74c0437cbd249f90.tar.gz
Qt-abf9213b649947420ef1ba0b74c0437cbd249f90.tar.bz2
Make sure QTouchEvent::TouchPoint::rect() returns the proper rect...
... and not the screenRect
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index c9b9bc8..ca37664 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -3931,7 +3931,7 @@ QPointF QTouchEvent::TouchPoint::lastScreenPos() const
*/
QRectF QTouchEvent::TouchPoint::rect() const
{
- return d->screenRect;
+ return d->rect;
}
/*!