aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgitem_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/qsgitem_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/qsgitem_p.h')
-rw-r--r--src/declarative/items/qsgitem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/items/qsgitem_p.h b/src/declarative/items/qsgitem_p.h
index 0b3348d7fc..062df2b8ea 100644
--- a/src/declarative/items/qsgitem_p.h
+++ b/src/declarative/items/qsgitem_p.h
@@ -321,7 +321,7 @@ public:
void deliverInputMethodEvent(QInputMethodEvent *);
void deliverFocusEvent(QFocusEvent *);
void deliverMouseEvent(QGraphicsSceneMouseEvent *);
- void deliverWheelEvent(QGraphicsSceneWheelEvent *);
+ void deliverWheelEvent(QWheelEvent *);
void deliverTouchEvent(QTouchEvent *);
void deliverHoverEvent(QGraphicsSceneHoverEvent *);
void deliverDragEvent(QSGDragEvent *);