diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-06-25 23:25:19 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-06-25 23:25:19 (GMT) |
commit | 91a7af3f44dc941929e0f93b98b2f2074f26086d (patch) | |
tree | 227a79f797e637f7097e30f46a5a53e62d5f3827 /src/declarative/util/qmlanimation_p.h | |
parent | 128a0c387801194a690f646cde6579bbf804b7de (diff) | |
download | Qt-91a7af3f44dc941929e0f93b98b2f2074f26086d.zip Qt-91a7af3f44dc941929e0f93b98b2f2074f26086d.tar.gz Qt-91a7af3f44dc941929e0f93b98b2f2074f26086d.tar.bz2 |
Optimize refactored animation classes.
Diffstat (limited to 'src/declarative/util/qmlanimation_p.h')
-rw-r--r-- | src/declarative/util/qmlanimation_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/util/qmlanimation_p.h b/src/declarative/util/qmlanimation_p.h index ff31895..7b0649a 100644 --- a/src/declarative/util/qmlanimation_p.h +++ b/src/declarative/util/qmlanimation_p.h @@ -306,7 +306,7 @@ class QmlVariantAnimationPrivate : public QmlAbstractAnimationPrivate public: QmlVariantAnimationPrivate() : QmlAbstractAnimationPrivate(), fromSourced(false), fromIsDefined(false), toIsDefined(false), - va(0), value(this, &QmlVariantAnimationPrivate::valueChanged) {} + interpolatorType(0), interpolator(0), va(0), value(this, &QmlVariantAnimationPrivate::valueChanged) {} void init(); @@ -322,6 +322,8 @@ public: bool fromSourced; bool fromIsDefined; bool toIsDefined; + int interpolatorType; + QVariantAnimation::Interpolator interpolator; QmlTimeLineValueAnimator *va; virtual void valueChanged(qreal); |