diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-25 08:26:35 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-25 08:29:14 (GMT) |
commit | 042f15fefd19584c546cb55f24c4c79c4d76529c (patch) | |
tree | d18ae93811676588f0f77280fb4c7f93686d834f /src/gui/widgets/qabstractscrollarea_p.h | |
parent | 1908002e9b7cbd9c3ebdec061e842bd6296b1edb (diff) | |
download | Qt-042f15fefd19584c546cb55f24c4c79c4d76529c.zip Qt-042f15fefd19584c546cb55f24c4c79c4d76529c.tar.gz Qt-042f15fefd19584c546cb55f24c4c79c4d76529c.tar.bz2 |
Carbon: pan gesture keeps breaking wheel events
Solution: remove pan gestures from all scroll areas in Qt. I do
this for Mac now, but I will strongly suggest that we do this
on Win as well, as there is currently no way to override the
panning behaviour, and this works against the intention of
scroll areas.
Diffstat (limited to 'src/gui/widgets/qabstractscrollarea_p.h')
-rw-r--r-- | src/gui/widgets/qabstractscrollarea_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qabstractscrollarea_p.h b/src/gui/widgets/qabstractscrollarea_p.h index a5acdd1..4362ce9 100644 --- a/src/gui/widgets/qabstractscrollarea_p.h +++ b/src/gui/widgets/qabstractscrollarea_p.h @@ -101,9 +101,9 @@ public: { return q_func()->viewportEvent(event); } QScopedPointer<QObject> viewportFilter; - virtual void _q_gestureTriggered(); #ifdef Q_WS_WIN QPanGesture *panGesture; + virtual void _q_gestureTriggered(); bool singleFingerPanEnabled; void setSingleFingerPanEnabled(bool on = true); #endif |