diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-07-22 23:22:00 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-07-22 23:22:57 (GMT) |
commit | 62d1160250274dc355d1998357e606131527db2c (patch) | |
tree | 16122f8716d3dad49183a6a880f78cb6da5e1044 /src/declarative/util/qdeclarativeanimation.cpp | |
parent | e2c252bbf397eaccedbf7278d0f2b065ed8ead86 (diff) | |
download | Qt-62d1160250274dc355d1998357e606131527db2c.zip Qt-62d1160250274dc355d1998357e606131527db2c.tar.gz Qt-62d1160250274dc355d1998357e606131527db2c.tar.bz2 |
Remove unneeded member variable.
Diffstat (limited to 'src/declarative/util/qdeclarativeanimation.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp index 3617031..1a223d5 100644 --- a/src/declarative/util/qdeclarativeanimation.cpp +++ b/src/declarative/util/qdeclarativeanimation.cpp @@ -2071,17 +2071,16 @@ void QDeclarativePropertyAnimation::setTo(const QVariant &t) QEasingCurve QDeclarativePropertyAnimation::easing() const { Q_D(const QDeclarativePropertyAnimation); - return d->easing; + return d->va->easingCurve(); } void QDeclarativePropertyAnimation::setEasing(const QEasingCurve &e) { Q_D(QDeclarativePropertyAnimation); - if (d->easing == e) + if (d->va->easingCurve() == e) return; - d->easing = e; - d->va->setEasingCurve(d->easing); + d->va->setEasingCurve(e); emit easingChanged(e); } |