summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-05-28 11:43:23 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-05-28 11:43:23 (GMT)
commitb70ebe8e9c26e7d53a3d42600b946dbd7eb7bc45 (patch)
tree53d112dc70eacc10580f27d214a8c3db87801c9d /src/gui/kernel/qapplication.cpp
parentec8654a61e574539f1b948b82a19371b160f4f4e (diff)
downloadQt-b70ebe8e9c26e7d53a3d42600b946dbd7eb7bc45.zip
Qt-b70ebe8e9c26e7d53a3d42600b946dbd7eb7bc45.tar.gz
Qt-b70ebe8e9c26e7d53a3d42600b946dbd7eb7bc45.tar.bz2
Reuse the raw touch event's modifiers when dispatching the widget touch events
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r--src/gui/kernel/qapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 3c7b808..27ac04a 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -5405,7 +5405,7 @@ bool QApplicationPrivate::translateRawTouchEvent(QWidget *window, QTouchEvent *r
}
QTouchEvent touchEvent(eventType,
- q->keyboardModifiers(),
+ rawTouchEvent->modifiers(),
it.value().first,
it.value().second);
updateTouchPointsForWidget(widget, &touchEvent);