diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-05-26 10:45:09 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-05-26 10:45:09 (GMT) |
commit | 37fff42b5c52a8e0c36d6834ac494ebabb4ea449 (patch) | |
tree | 285ad1bdee0a4835c8edce58e66c7f7dc4f058a9 /src/gui/kernel/qwidget_p.h | |
parent | b6d42a179c021e7544242edb82d8368af27c4dad (diff) | |
download | Qt-37fff42b5c52a8e0c36d6834ac494ebabb4ea449.zip Qt-37fff42b5c52a8e0c36d6834ac494ebabb4ea449.tar.gz Qt-37fff42b5c52a8e0c36d6834ac494ebabb4ea449.tar.bz2 |
Don't enable WM_TOUCH* messages on all windows
Only do it when a widget has actually set the Qt::WA_AcceptTouchEvents attribute
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r-- | src/gui/kernel/qwidget_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h index b2ae75e..8f8b467 100644 --- a/src/gui/kernel/qwidget_p.h +++ b/src/gui/kernel/qwidget_p.h @@ -557,6 +557,7 @@ public: void unregisterOleDnd(QWidget *widget, QOleDropTarget *target); #endif void grabMouseWhileInWindow(); + void registerTouchWindow(); #elif defined(Q_WS_MAC) // <--------------------------------------------------------- MAC // This is new stuff uint needWindowChange : 1; |