summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qabstractscrollarea.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-25 08:26:35 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-08-25 08:29:14 (GMT)
commit042f15fefd19584c546cb55f24c4c79c4d76529c (patch)
treed18ae93811676588f0f77280fb4c7f93686d834f /src/gui/widgets/qabstractscrollarea.h
parent1908002e9b7cbd9c3ebdec061e842bd6296b1edb (diff)
downloadQt-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.h')
-rw-r--r--src/gui/widgets/qabstractscrollarea.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qabstractscrollarea.h b/src/gui/widgets/qabstractscrollarea.h
index 0a3e9c5..0625458 100644
--- a/src/gui/widgets/qabstractscrollarea.h
+++ b/src/gui/widgets/qabstractscrollarea.h
@@ -128,7 +128,10 @@ private:
Q_PRIVATE_SLOT(d_func(), void _q_hslide(int))
Q_PRIVATE_SLOT(d_func(), void _q_vslide(int))
Q_PRIVATE_SLOT(d_func(), void _q_showOrHideScrollBars())
+
+#ifdef Q_WS_WIN
Q_PRIVATE_SLOT(d_func(), void _q_gestureTriggered())
+#endif
friend class QStyleSheetStyle;
friend class QWidgetPrivate;