diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-08-11 06:39:12 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-09-23 13:10:39 (GMT) |
commit | 5e11ae8dc8594f648105f8a62baf1b82c909fd2a (patch) | |
tree | e9e83d8f4d498fd02aa0b3fc8a788943bc7e0c1f /src/gui/kernel/qwidget.cpp | |
parent | 2e27c5a11488d5b7aa6831ba30a8c11bf71fb07a (diff) | |
download | Qt-5e11ae8dc8594f648105f8a62baf1b82c909fd2a.zip Qt-5e11ae8dc8594f648105f8a62baf1b82c909fd2a.tar.gz Qt-5e11ae8dc8594f648105f8a62baf1b82c909fd2a.tar.bz2 |
Implement Qt::WA_AcceptTouchEvents on S60
Turning this attribute ends up calling
RWindow::EnabledAdvancedPointers(), which tells Symbian to send us
multiple pointer events with extended info.
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 6f5781c..53ef682 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -10397,7 +10397,7 @@ void QWidget::setAttribute(Qt::WidgetAttribute attribute, bool on) break; case Qt::WA_AcceptTouchEvents: -#if defined(Q_WS_WIN) || defined(Q_WS_MAC) +#if defined(Q_WS_WIN) || defined(Q_WS_MAC) || defined(Q_WS_S60) if (on) d->registerTouchWindow(); #endif |