From 244ec458f8029484f71e875e2e1edac7c1268166 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 6 Jan 2011 15:30:55 +0000 Subject: [PATCH] don't handle wheel events in the event filter, let any widget that wants to steal it do so seems to have a more natural behaviour svn path=/trunk/KDE/kdelibs/; revision=1212343 --- widgets/scrollwidget.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/widgets/scrollwidget.cpp b/widgets/scrollwidget.cpp index 7717997a4..fb0eaa229 100644 --- a/widgets/scrollwidget.cpp +++ b/widgets/scrollwidget.cpp @@ -1500,9 +1500,7 @@ bool ScrollWidget::sceneEventFilter(QGraphicsItem *i, QEvent *e) case QEvent::GraphicsSceneMouseRelease: d->handleMouseReleaseEvent(static_cast(e)); break; - case QEvent::GraphicsSceneWheel: - d->handleWheelEvent(static_cast(e)); - break; + //Multitouch related events, we actually need only TouchUpdate case QEvent::TouchUpdate: { QList touchPoints = static_cast(e)->touchPoints();