summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);