summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
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/kernel/qwidget.cpp
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/kernel/qwidget.cpp')
-rw-r--r--src/gui/kernel/qwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index 611cb44..d1ab45a 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -7484,6 +7484,7 @@ bool QWidget::event(QEvent *event)
#ifndef QT_NO_WHEELEVENT
case QEvent::Wheel:
#endif
+ return false;
default:
break;
}