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/qplaintextedit.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/qplaintextedit.h')
-rw-r--r-- | src/gui/widgets/qplaintextedit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/qplaintextedit.h b/src/gui/widgets/qplaintextedit.h index c9652ae..5ec3ed8 100644 --- a/src/gui/widgets/qplaintextedit.h +++ b/src/gui/widgets/qplaintextedit.h @@ -269,7 +269,11 @@ private: Q_PRIVATE_SLOT(d_func(), void _q_adjustScrollbars()) Q_PRIVATE_SLOT(d_func(), void _q_verticalScrollbarActionTriggered(int)) Q_PRIVATE_SLOT(d_func(), void _q_cursorPositionChanged()) + +#ifdef Q_WS_WIN Q_PRIVATE_SLOT(d_func(), void _q_gestureTriggered()) +#endif + friend class QPlainTextEditControl; }; |