aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgflickable_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-06-30 10:53:50 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-07 06:40:00 +0200
commit19a4cf3c4fefd89b21502e09d7205c1f7eb875c1 (patch)
tree9011b7ba7c6d1bc15efd7fa3a320dec580dde621 /src/declarative/items/qsgflickable_p.h
parent63f23475f06e213ccefc2e7fba63ea896e7fd73d (diff)
Use QWheelEvent instead of QGraphicsSceneWheelEvent
Since WheelEvent is not floating point based, we can use it instead of the graphics scene event. Change-Id: Ifa8411ca9c3a986ea311c8741f60213637b7c6ae Reviewed-on: http://codereview.qt.nokia.com/1140 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/declarative/items/qsgflickable_p.h')
-rw-r--r--src/declarative/items/qsgflickable_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/items/qsgflickable_p.h b/src/declarative/items/qsgflickable_p.h
index c1ed024527..a20b93de73 100644
--- a/src/declarative/items/qsgflickable_p.h
+++ b/src/declarative/items/qsgflickable_p.h
@@ -183,7 +183,7 @@ protected:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
- virtual void wheelEvent(QGraphicsSceneWheelEvent *event);
+ virtual void wheelEvent(QWheelEvent *event);
virtual void timerEvent(QTimerEvent *event);
QSGFlickableVisibleArea *visibleArea();