diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-28 15:52:32 +0200 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-28 15:57:39 +0200 |
commit | 7626109da40a91cb38fbe3f23e08b50a04d2194a (patch) | |
tree | b53358c91c08ecde5f4d12d5f20e1f6609fa17e7 /tests/auto/qpropertyanimation | |
parent | 124b4a1a5832d21d63722ee5ac68007083a4f8ae (diff) |
Animations: updateCurrentTime now receives the currentTime as paramater
Reviewed-by: Leo
Diffstat (limited to 'tests/auto/qpropertyanimation')
-rw-r--r-- | tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp b/tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp index f86e81d91f..51ef2dad1a 100644 --- a/tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp +++ b/tests/auto/qpropertyanimation/tst_qpropertyanimation.cpp @@ -55,10 +55,10 @@ public: int duration() const { return -1; /* not time driven */ } protected: - void updateCurrentTime() + void updateCurrentTime(int currentTime) { - QPropertyAnimation::updateCurrentTime(); - if (currentTime() >= QPropertyAnimation::duration() || currentLoop() >= 1) + QPropertyAnimation::updateCurrentTime(currentTime); + if (currentTime >= QPropertyAnimation::duration() || currentLoop() >= 1) stop(); } }; |