diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-01-02 12:47:15 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-05 15:03:30 +0100 |
commit | eb0ce0d5c123c010c978c96683cfd6b651540b07 (patch) | |
tree | d303197e1206f1a6cf612c0d23fb49f6592920a5 /src/network/socket/qabstractsocketengine.cpp | |
parent | 9498f1aa54fefb3d1c78f5e38880607147512567 (diff) |
Use explicit Qt::TimerTypes when starting animation timers.
Similar to commit 4e1ad49998cf782ccc88e7e80fbd05c722658a16, we know that
CoarseTimers are worst in their first firing, so we prefer a
PreciseTimer for short pause animations to avoid inaccuracies. If the
timeout is too big, we use a CoarseTimer anyway (current threshold is
2000ms).
The timer that drives the QDefaultAnimationDriver is always a
PreciseTimer.
Change-Id: I0939357d768b804f9f9bab3adf5ed1d0f7e012e7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/network/socket/qabstractsocketengine.cpp')
0 files changed, 0 insertions, 0 deletions