diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-11-09 23:29:14 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-11-09 23:29:14 (GMT) |
commit | fc5fd47fc7e7d87d17386e23690af4fec80dae05 (patch) | |
tree | 3ca121b3779345ef89a0c2825cd0b1f2371f07f1 /src/declarative/util/qmlanimation_p_p.h | |
parent | 9b3a87a0f20023b59b3d59807aac69e53be277eb (diff) | |
download | Qt-fc5fd47fc7e7d87d17386e23690af4fec80dae05.zip Qt-fc5fd47fc7e7d87d17386e23690af4fec80dae05.tar.gz Qt-fc5fd47fc7e7d87d17386e23690af4fec80dae05.tar.bz2 |
Fix after animation API changes.
Diffstat (limited to 'src/declarative/util/qmlanimation_p_p.h')
-rw-r--r-- | src/declarative/util/qmlanimation_p_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qmlanimation_p_p.h b/src/declarative/util/qmlanimation_p_p.h index 1372343..21c0284 100644 --- a/src/declarative/util/qmlanimation_p_p.h +++ b/src/declarative/util/qmlanimation_p_p.h @@ -108,7 +108,7 @@ public: protected: virtual void updateCurrentTime(int) {} - virtual void updateState(State /*oldState*/, State newState) + virtual void updateState(State newState, State /*oldState*/) { if (newState == Running) { if (animAction) @@ -147,9 +147,9 @@ protected: if (animValue) animValue->setValue(value.toDouble()); } - virtual void updateState(State oldState, State newState) + virtual void updateState(State newState, State oldState) { - QVariantAnimation::updateState(oldState, newState); + QVariantAnimation::updateState(newState, oldState); if (newState == Running) { //check for new from every loop if (fromSourced) |