diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-06-03 17:22:31 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-06-03 17:30:50 (GMT) |
commit | 0afecb87783b54dc1647be86387beca0b5725535 (patch) | |
tree | b25bdbb5dfa428ce3088169027d48c984540aea3 | |
parent | 928830fa0626499b5299386e2095c9fffbf69c8b (diff) | |
download | Qt-0afecb87783b54dc1647be86387beca0b5725535.zip Qt-0afecb87783b54dc1647be86387beca0b5725535.tar.gz Qt-0afecb87783b54dc1647be86387beca0b5725535.tar.bz2 |
Fixed the keyboard modifiers handling when raw touch event is sent.
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 4 |
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 |