summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcocoaview_mac.mm
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-27 11:32:39 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-27 12:06:14 (GMT)
commita69f291170b38166acceef7c93f3b2d6d55c90d1 (patch)
treec8843c2a62fc123e86fdf8b3d06f59a6a9f6b701 /src/gui/kernel/qcocoaview_mac.mm
parent42b1e49335377175b73a499236a800fca40a1d3e (diff)
downloadQt-a69f291170b38166acceef7c93f3b2d6d55c90d1.zip
Qt-a69f291170b38166acceef7c93f3b2d6d55c90d1.tar.gz
Qt-a69f291170b38166acceef7c93f3b2d6d55c90d1.tar.bz2
Mac: Fix Imageviewer example, and bugfix gestures
Rev-By: denis
Diffstat (limited to 'src/gui/kernel/qcocoaview_mac.mm')
-rw-r--r--src/gui/kernel/qcocoaview_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qcocoaview_mac.mm b/src/gui/kernel/qcocoaview_mac.mm
index 5ab7ed2..df50e55 100644
--- a/src/gui/kernel/qcocoaview_mac.mm
+++ b/src/gui/kernel/qcocoaview_mac.mm
@@ -892,7 +892,7 @@ extern "C" {
qNGEvent.gestureType = QNativeGestureEvent::Rotate;
NSPoint p = [[event window] convertBaseToScreen:[event locationInWindow]];
qNGEvent.position = flipPoint(p).toPoint();
- qNGEvent.percentage = [event rotation];
+ qNGEvent.percentage = -[event rotation];
qt_sendSpontaneousEvent(qwidget, &qNGEvent);
}