diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-06-30 10:53:50 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-07 06:40:00 +0200 |
commit | 19a4cf3c4fefd89b21502e09d7205c1f7eb875c1 (patch) | |
tree | 9011b7ba7c6d1bc15efd7fa3a320dec580dde621 /src/declarative/items/qsgcanvas_p.h | |
parent | 63f23475f06e213ccefc2e7fba63ea896e7fd73d (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/qsgcanvas_p.h')
-rw-r--r-- | src/declarative/items/qsgcanvas_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/items/qsgcanvas_p.h b/src/declarative/items/qsgcanvas_p.h index c4c82b666c..a5baba6f1b 100644 --- a/src/declarative/items/qsgcanvas_p.h +++ b/src/declarative/items/qsgcanvas_p.h @@ -110,7 +110,7 @@ public: bool deliverInitialMousePressEvent(QSGItem *, QGraphicsSceneMouseEvent *); bool deliverMouseEvent(QGraphicsSceneMouseEvent *); bool sendFilteredMouseEvent(QSGItem *, QSGItem *, QGraphicsSceneMouseEvent *); - bool deliverWheelEvent(QSGItem *, QGraphicsSceneWheelEvent *); + bool deliverWheelEvent(QSGItem *, QWheelEvent *); bool deliverTouchPoints(QSGItem *, QTouchEvent *, const QList<QTouchEvent::TouchPoint> &, QSet<int> *, QHash<QSGItem *, QList<QTouchEvent::TouchPoint> > *); bool deliverTouchEvent(QTouchEvent *); |