summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-07-07 13:43:53 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-07-07 13:57:32 (GMT)
commit5f48e2a16b0b64536a205320fbf7a22f7461d80d (patch)
treedddec8017c2b68487fa62c855029f206851f65bd /src/gui/widgets
parente348e7b633ff3a0279d4d1759e35f0920afcc3e0 (diff)
downloadQt-5f48e2a16b0b64536a205320fbf7a22f7461d80d.zip
Qt-5f48e2a16b0b64536a205320fbf7a22f7461d80d.tar.gz
Qt-5f48e2a16b0b64536a205320fbf7a22f7461d80d.tar.bz2
Fixes a crash when scrolling a scrollarea with a mouse wheel.
This fixes a crashed introduced in 60e965fd35037f4a27816d2aeccafdff0d6ae9d6 - those lines were removed by accident. Reviewed-by: João Abecasis Author: João Abecasis
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qabstractscrollarea.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qabstractscrollarea.cpp b/src/gui/widgets/qabstractscrollarea.cpp
index d952ab0..e78f5a7 100644
--- a/src/gui/widgets/qabstractscrollarea.cpp
+++ b/src/gui/widgets/qabstractscrollarea.cpp
@@ -937,6 +937,7 @@ bool QAbstractScrollArea::event(QEvent *e)
case QEvent::DragMove:
case QEvent::DragLeave:
#endif
+ return false;
case QEvent::StyleChange:
case QEvent::LayoutDirectionChange:
case QEvent::ApplicationLayoutDirectionChange: