diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-06-19 10:33:33 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-06-19 10:35:03 (GMT) |
commit | bdd406e6ad96cfb7d31897e1bb2e551cf69036eb (patch) | |
tree | 960560cc3e762c5bbd8448e46132424f5d5a3353 /src/gui/kernel/qwidget.cpp | |
parent | abf9213b649947420ef1ba0b74c0437cbd249f90 (diff) | |
download | Qt-bdd406e6ad96cfb7d31897e1bb2e551cf69036eb.zip Qt-bdd406e6ad96cfb7d31897e1bb2e551cf69036eb.tar.gz Qt-bdd406e6ad96cfb7d31897e1bb2e551cf69036eb.tar.bz2 |
Multitouch, Cocoa: First revision of multi touch in Qt/Cocoa
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 8dd32f5..304d72a 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -9928,12 +9928,12 @@ void QWidget::setAttribute(Qt::WidgetAttribute attribute, bool on) } break; -#if defined(Q_WS_WIN) case Qt::WA_AcceptTouchEvents: +#if defined(Q_WS_WIN) || defined(Q_WS_MAC) if (on) d->registerTouchWindow(); - break; #endif + break; default: break; } |