diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-23 13:30:24 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-23 13:48:51 (GMT) |
commit | 9d552fbf54a25b4bab7fff8a150ab0d03d524983 (patch) | |
tree | 350b11394c542050c2de08e8663d8cf0c19717a7 /examples/animation | |
parent | b9fd3e2836553dbe9c48c5d8784155b02a5699a2 (diff) | |
download | Qt-9d552fbf54a25b4bab7fff8a150ab0d03d524983.zip Qt-9d552fbf54a25b4bab7fff8a150ab0d03d524983.tar.gz Qt-9d552fbf54a25b4bab7fff8a150ab0d03d524983.tar.bz2 |
Small change in the API of animations
We're not taking a parameter in updateCurrentTime any more
because that parameter was the total currenttime. So it was taking into
account the currenttime and the currentloop at once. This was inconsistent
Reviewed-by: Leo
Diffstat (limited to 'examples/animation')
-rw-r--r-- | examples/animation/easing/animation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/easing/animation.h b/examples/animation/easing/animation.h index 45a7b17..78fdc14 100644 --- a/examples/animation/easing/animation.h +++ b/examples/animation/easing/animation.h @@ -68,7 +68,7 @@ public: m_path = QPainterPath(); } - void updateCurrentTime(int msecs) + void updateCurrentTime() { if (m_pathType == CirclePath) { if (m_path.isEmpty()) { @@ -90,7 +90,7 @@ public: updateCurrentValue(pt); emit valueChanged(pt); } else { - QPropertyAnimation::updateCurrentTime(msecs); + QPropertyAnimation::updateCurrentTime(); } } |