--- a/src/gui/kernel/qeventdispatcher_mac.mm Mon Mar 15 12:43:09 2010 +0200
+++ b/src/gui/kernel/qeventdispatcher_mac.mm Thu Apr 08 14:19:33 2010 +0300
@@ -492,6 +492,14 @@
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;