summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-11-05 13:13:34 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-11-05 13:13:34 (GMT)
commit393f53184a35f380ddd7cf44a0947c2309c373bc (patch)
tree9742a78da62595074bd51bb2c2acdf3c81a29c34
parentfc8bada79e686004faf5613202859e79ab49f1ab (diff)
downloadQt-393f53184a35f380ddd7cf44a0947c2309c373bc.zip
Qt-393f53184a35f380ddd7cf44a0947c2309c373bc.tar.gz
Qt-393f53184a35f380ddd7cf44a0947c2309c373bc.tar.bz2
Revert "Make animation timer slightly more accurate with default interval of 15"
The new threashold for using the multimedia timer is 20, so we can get back to 16 ms for the interval. This reverts commit bdcde683bc863d0c574b1e4d64b5a16ba0130596.
-rw-r--r--src/corelib/animation/qabstractanimation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index f967081..edc1503 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -156,8 +156,7 @@
#ifndef QT_NO_ANIMATION
-//with 15 ms we get more accuracy on windows (it uses the multimedia timer)
-#define DEFAULT_TIMER_INTERVAL 15
+#define DEFAULT_TIMER_INTERVAL 16
#define STARTSTOP_TIMER_DELAY 0
QT_BEGIN_NAMESPACE