summaryrefslogtreecommitdiff
path: root/src/gui/widgets/qscrollbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qscrollbar.cpp')
-rw-r--r--src/gui/widgets/qscrollbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qscrollbar.cpp b/src/gui/widgets/qscrollbar.cpp
index 4eff260588..c0eeb2fd69 100644
--- a/src/gui/widgets/qscrollbar.cpp
+++ b/src/gui/widgets/qscrollbar.cpp
@@ -523,6 +523,7 @@ bool QScrollBar::event(QEvent *event)
break;
#ifndef QT_NO_WHEELEVENT
case QEvent::Wheel: {
+ event->ignore();
// override wheel event without adding virtual function override
QWheelEvent *ev = static_cast<QWheelEvent *>(event);
int delta = ev->delta();