summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qeventdispatcher_mac.mm
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-21 16:16:18 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-21 16:16:18 (GMT)
commitfe1a44a850e61d8b64626424b45ef7592ec66589 (patch)
tree5cceb6849ddebd37f3098664c52bdb629543cca1 /src/gui/kernel/qeventdispatcher_mac.mm
parentef01812875f0dfc8e032fefb90f1afeb57aaa821 (diff)
parent2181a341839b72a627a7ef641de58d1d2411f123 (diff)
downloadQt-fe1a44a850e61d8b64626424b45ef7592ec66589.zip
Qt-fe1a44a850e61d8b64626424b45ef7592ec66589.tar.gz
Qt-fe1a44a850e61d8b64626424b45ef7592ec66589.tar.bz2
Merge branch 'master' of git:qt/qt
Conflicts: doc/src/declarative/advtutorial1.qdoc doc/src/declarative/advtutorial2.qdoc doc/src/declarative/advtutorial3.qdoc doc/src/declarative/advtutorial4.qdoc doc/src/declarative/tutorial1.qdoc doc/src/declarative/tutorial2.qdoc doc/src/declarative/tutorial3.qdoc
Diffstat (limited to 'src/gui/kernel/qeventdispatcher_mac.mm')
-rw-r--r--src/gui/kernel/qeventdispatcher_mac.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/kernel/qeventdispatcher_mac.mm b/src/gui/kernel/qeventdispatcher_mac.mm
index b76ba44..afea3ec 100644
--- a/src/gui/kernel/qeventdispatcher_mac.mm
+++ b/src/gui/kernel/qeventdispatcher_mac.mm
@@ -497,6 +497,14 @@ static bool IsMouseOrKeyEvent( NSEvent* event )
case NSOtherMouseDown:
case NSOtherMouseUp:
case NSOtherMouseDragged:
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
+ case NSEventTypeGesture: // touch events
+ case NSEventTypeMagnify:
+ case NSEventTypeSwipe:
+ case NSEventTypeRotate:
+ case NSEventTypeBeginGesture:
+ case NSEventTypeEndGesture:
+#endif
result = true;
break;