diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-07-07 13:43:53 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-07-07 13:57:32 (GMT) |
commit | 5f48e2a16b0b64536a205320fbf7a22f7461d80d (patch) | |
tree | dddec8017c2b68487fa62c855029f206851f65bd /src/gui/kernel | |
parent | e348e7b633ff3a0279d4d1759e35f0920afcc3e0 (diff) | |
download | Qt-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')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 1 |
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; } |