summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine
diff options
context:
space:
mode:
authorDean Dettman <dean.dettman@nokia.com>2011-02-21 11:18:09 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2011-02-21 11:18:09 (GMT)
commit95a9ab2d0e94c735ac813c809a4fe98dd466cc64 (patch)
treef775b4ad81bae29769d0fd40c7cefb1d48cf8d3e /src/gui/statemachine
parent13e9642616ab480d09bda2603cc89dcaea7a1ad6 (diff)
downloadQt-95a9ab2d0e94c735ac813c809a4fe98dd466cc64.zip
Qt-95a9ab2d0e94c735ac813c809a4fe98dd466cc64.tar.gz
Qt-95a9ab2d0e94c735ac813c809a4fe98dd466cc64.tar.bz2
Wheel delta is always zero in QEventTransition's event
When a QGraphicsSceneWheelEvent was cloned, the original event's delta property was not copied. Task-number: QTBUG-17536 Reviewed-by: Kent Hansen
Diffstat (limited to 'src/gui/statemachine')
-rw-r--r--src/gui/statemachine/qguistatemachine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/statemachine/qguistatemachine.cpp b/src/gui/statemachine/qguistatemachine.cpp
index eadb8ff..2a0de3c 100644
--- a/src/gui/statemachine/qguistatemachine.cpp
+++ b/src/gui/statemachine/qguistatemachine.cpp
@@ -404,6 +404,7 @@ static QEvent *cloneEvent(QEvent *e)
we2->setButtons(we->buttons());
we2->setModifiers(we->modifiers());
we2->setOrientation(we->orientation());
+ we2->setDelta(we->delta());
return we2;
}
#endif