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/qsgflickable.cpp | |
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/qsgflickable.cpp')
-rw-r--r-- | src/declarative/items/qsgflickable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/items/qsgflickable.cpp b/src/declarative/items/qsgflickable.cpp index 48beef8422..ed29994696 100644 --- a/src/declarative/items/qsgflickable.cpp +++ b/src/declarative/items/qsgflickable.cpp @@ -794,7 +794,7 @@ void QSGFlickable::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) } } -void QSGFlickable::wheelEvent(QGraphicsSceneWheelEvent *event) +void QSGFlickable::wheelEvent(QWheelEvent *event) { Q_D(QSGFlickable); if (!d->interactive) { |