diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-02 13:04:21 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-02 13:04:21 (GMT) |
commit | bdcde683bc863d0c574b1e4d64b5a16ba0130596 (patch) | |
tree | 7527ab883e6ea586932a0d32d83faf921db69cc1 /src/corelib/animation | |
parent | e403fd643f5b7cdd215689b566067c19cf70b4c3 (diff) | |
download | Qt-bdcde683bc863d0c574b1e4d64b5a16ba0130596.zip Qt-bdcde683bc863d0c574b1e4d64b5a16ba0130596.tar.gz Qt-bdcde683bc863d0c574b1e4d64b5a16ba0130596.tar.bz2 |
Make animation timer slightly more accurate with default interval of 15
On windows this will make it much more accurate
Reviewed-by: ogoffart
Diffstat (limited to 'src/corelib/animation')
-rw-r--r-- | src/corelib/animation/qabstractanimation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp index a4c7e29..7fa3ae3 100644 --- a/src/corelib/animation/qabstractanimation.cpp +++ b/src/corelib/animation/qabstractanimation.cpp @@ -156,7 +156,8 @@ #ifndef QT_NO_ANIMATION -#define DEFAULT_TIMER_INTERVAL 16 +//with 15 ms we get more accuracy on windows (it uses the multimedia timer) +#define DEFAULT_TIMER_INTERVAL 15 #define STARTSTOP_TIMER_DELAY 0 QT_BEGIN_NAMESPACE |