diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-05-08 15:13:09 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-05-08 15:13:09 (GMT) |
commit | 771e18e96d86f09bb047e5cf45cc33568e259a5d (patch) | |
tree | 902b2af4f351b83e92f847f8b4110b231e8d91fb | |
parent | 1283c8734b137d1d7cc7c88e5e120e14c45852d1 (diff) | |
download | Qt-771e18e96d86f09bb047e5cf45cc33568e259a5d.zip Qt-771e18e96d86f09bb047e5cf45cc33568e259a5d.tar.gz Qt-771e18e96d86f09bb047e5cf45cc33568e259a5d.tar.bz2 |
by default, ignore touch events if the widget is disabled
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index cbf9585..968a423 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -7525,6 +7525,9 @@ bool QWidget::event(QEvent *event) case QEvent::MouseButtonRelease: case QEvent::MouseButtonDblClick: case QEvent::MouseMove: + case QEvent::TouchBegin: + case QEvent::TouchUpdate: + case QEvent::TouchEnd: case QEvent::ContextMenu: #ifndef QT_NO_WHEELEVENT case QEvent::Wheel: |