summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-06-19 10:33:33 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-06-19 10:35:03 (GMT)
commitbdd406e6ad96cfb7d31897e1bb2e551cf69036eb (patch)
tree960560cc3e762c5bbd8448e46132424f5d5a3353 /src/gui/kernel/qwidget.cpp
parentabf9213b649947420ef1ba0b74c0437cbd249f90 (diff)
downloadQt-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.cpp4
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;
}