From 0afecb87783b54dc1647be86387beca0b5725535 Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Wed, 3 Jun 2009 19:22:31 +0200 Subject: Fixed the keyboard modifiers handling when raw touch event is sent. --- src/gui/kernel/qapplication.cpp | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v0.12