break; in the switch,

crash--

svn path=/trunk/KDE/kdelibs/; revision=1202309
This commit is contained in:
Marco Martin 2010-11-30 12:04:44 +00:00
parent d8546805e5
commit 5d9766f6c1

View File

@ -1489,6 +1489,7 @@ bool ScrollWidget::sceneEventFilter(QGraphicsItem *i, QEvent *e)
break; break;
case QEvent::GraphicsSceneWheel: case QEvent::GraphicsSceneWheel:
d->handleWheelEvent(static_cast<QGraphicsSceneWheelEvent*>(e)); d->handleWheelEvent(static_cast<QGraphicsSceneWheelEvent*>(e));
break;
//Multitouch related events, we actually need only TouchUpdate //Multitouch related events, we actually need only TouchUpdate
case QEvent::TouchUpdate: { case QEvent::TouchUpdate: {
QList<QTouchEvent::TouchPoint> touchPoints = static_cast<QTouchEvent *>(e)->touchPoints(); QList<QTouchEvent::TouchPoint> touchPoints = static_cast<QTouchEvent *>(e)->touchPoints();