summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qabstractscrollarea_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-25 10:26:35 +0200
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-25 10:29:14 +0200
commit042f15fefd19584c546cb55f24c4c79c4d76529c (patch)
treed18ae93811676588f0f77280fb4c7f93686d834f /src/gui/widgets/qabstractscrollarea_p.h
parent1908002e9b7cbd9c3ebdec061e842bd6296b1edb (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qabstractscrollarea_p.h b/src/gui/widgets/qabstractscrollarea_p.h
index a5acdd15b..4362ce921 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