summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-06-03 17:22:31 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-06-03 17:30:50 (GMT)
commit0afecb87783b54dc1647be86387beca0b5725535 (patch)
treeb25bdbb5dfa428ce3088169027d48c984540aea3 /src/gui/kernel
parent928830fa0626499b5299386e2095c9fffbf69c8b (diff)
downloadQt-0afecb87783b54dc1647be86387beca0b5725535.zip
Qt-0afecb87783b54dc1647be86387beca0b5725535.tar.gz
Qt-0afecb87783b54dc1647be86387beca0b5725535.tar.bz2
Fixed the keyboard modifiers handling when raw touch event is sent.
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 8fb8086..4855544 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -3583,9 +3583,7 @@ bool QApplication::notify(QObject *receiver, QEvent *e)
QApplicationPrivate::mouse_buttons |= me->button();
else
QApplicationPrivate::mouse_buttons &= ~me->button();
- } else if (e->type() == QEvent::TouchBegin
- || e->type() == QEvent::TouchUpdate
- || e->type() == QEvent::TouchEnd
+ } else if (e->type() == QEvent::RawTouch
# ifndef QT_NO_WHEELEVENT
|| e->type() == QEvent::Wheel
# endif