diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-10-06 17:00:34 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-10-07 15:37:47 (GMT) |
commit | cd32bfdd74a9615d28670a197296821d7cf2844d (patch) | |
tree | 2701c2e340c91ad4895c0e6014035abdc14104a2 /tests/auto/qpauseanimation/qpauseanimation.pro | |
parent | 232212660535bddee054f3c60b7e8a9dfcc8c582 (diff) | |
download | Qt-cd32bfdd74a9615d28670a197296821d7cf2844d.zip Qt-cd32bfdd74a9615d28670a197296821d7cf2844d.tar.gz Qt-cd32bfdd74a9615d28670a197296821d7cf2844d.tar.bz2 |
Avoids timer ticks when there are only pause animations running
When there are only pause animations running, the timer will stop and
restart when the closest pause animation finishes. While there are only
pause animations running, there are no additional timer ticks, but
if there is at least one animation running that is not a group or a pause,
then the global animation timer will restore it's update interval.
Includes a new auto-test for the QPauseAnimation class.
Task-number: QT-941
Reviewed-by: thierry
Reviewed-by: janarve
Diffstat (limited to 'tests/auto/qpauseanimation/qpauseanimation.pro')
-rw-r--r-- | tests/auto/qpauseanimation/qpauseanimation.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qpauseanimation/qpauseanimation.pro b/tests/auto/qpauseanimation/qpauseanimation.pro new file mode 100644 index 0000000..4599cf0 --- /dev/null +++ b/tests/auto/qpauseanimation/qpauseanimation.pro @@ -0,0 +1,5 @@ +load(qttest_p4) +QT = core gui +SOURCES += tst_qpauseanimation.cpp + + |