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
This commit is contained in:
parent
0069c38934
commit
244ec458f8
@ -1500,9 +1500,7 @@ bool ScrollWidget::sceneEventFilter(QGraphicsItem *i, QEvent *e)
|
||||
case QEvent::GraphicsSceneMouseRelease:
|
||||
d->handleMouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(e));
|
||||
break;
|
||||
case QEvent::GraphicsSceneWheel:
|
||||
d->handleWheelEvent(static_cast<QGraphicsSceneWheelEvent*>(e));
|
||||
break;
|
||||
|
||||
//Multitouch related events, we actually need only TouchUpdate
|
||||
case QEvent::TouchUpdate: {
|
||||
QList<QTouchEvent::TouchPoint> touchPoints = static_cast<QTouchEvent *>(e)->touchPoints();
|
||||
|
Loading…
x
Reference in New Issue
Block a user