Add missing unintialized member in QQuickParentAnimationData class
authorCharles Yin <charles.yin@nokia.com>
Tue, 29 May 2012 00:26:14 +0000 (10:26 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 May 2012 03:57:48 +0000 (05:57 +0200)
Change-Id: I0dc3a04f594a6a894281f593964a87924ec29336
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/quick/items/qquickitemanimation.cpp

index 35a46ee..5409203 100644 (file)
@@ -213,7 +213,7 @@ QAbstractAnimationJob* QQuickParentAnimation::transition(QQuickStateActions &act
 
     struct QQuickParentAnimationData : public QAbstractAnimationAction
     {
-        QQuickParentAnimationData() {}
+        QQuickParentAnimationData() : reverse(false) {}
         ~QQuickParentAnimationData() { qDeleteAll(pc); }
 
         QQuickStateActions actions;