diff options
author | Gunnar Sletta <gunnar@sletta.org> | 2014-09-11 14:36:53 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2014-09-11 15:25:21 +0200 |
commit | 0db3ea4048fe572a256deb343ea5e64a55d98de9 (patch) | |
tree | da96773b6a3f5c2b7db2e242ea4973dabceff578 /sync.profile | |
parent | f40b4cd89cf4ddc6f61cb104a84292eae9022931 (diff) |
Use a dedicated timer for the animation driver.
QUnifiedTimer::elapsed() was implemented using
driverStartTime + time.elapsed() while the driver
was running, but time.elapsed already contains
driverStartTime so that was counted twice. This caused
repeating timers to fire immediately once they first
had fired, if the animation driver was started while
it was running.
Separate the two timers. Animation driver time restarts
from 0 every time it starts.
Change-Id: Icf5cd0381b121b2355d7c6ec3edd0997721cbcdf
Task-number: QTBUG-41198
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions