diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-27 11:32:39 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-27 12:06:14 (GMT) |
commit | a69f291170b38166acceef7c93f3b2d6d55c90d1 (patch) | |
tree | c8843c2a62fc123e86fdf8b3d06f59a6a9f6b701 /src/gui/kernel/qcocoaview_mac.mm | |
parent | 42b1e49335377175b73a499236a800fca40a1d3e (diff) | |
download | Qt-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.mm | 2 |
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); } |