summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-10-05 13:27:55 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-10-06 11:10:42 (GMT)
commit9dcd06efae3e2d78ef402bf06e655e7e95550a39 (patch)
tree7b3fb015b40a11bd547a32a06388a6ab2c31f142 /src/corelib/animation
parent6a061c1b66de4048222ef49c3d34c3e424e2a6c8 (diff)
downloadQt-9dcd06efae3e2d78ef402bf06e655e7e95550a39.zip
Qt-9dcd06efae3e2d78ef402bf06e655e7e95550a39.tar.gz
Qt-9dcd06efae3e2d78ef402bf06e655e7e95550a39.tar.bz2
The threshold for system basic timers has changed on windows
This breaks the animations in main window because dragging a dock widget when it is undocked creates another event loop and the Qt events are not processed any more. Reviewed-by: Trust Me
Diffstat (limited to 'src/corelib/animation')
-rw-r--r--src/corelib/animation/qabstractanimation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index 6bbd801..2769040 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -162,9 +162,9 @@
//on windows if you're currently dragging a widget an inner eventloop was started by the system
//to make sure that this timer is getting fired, we need to make sure to use the system timers
//that will send a WM_TIMER event. We do that by settings the timer interval to 11
- //It is 11 because QEventDispatcherWin32Private::registerTimer specifically checks if the interval
- //is greater than 10 to determine if it should use a system timer (or the multimedia timer).
-#define STARTSTOP_TIMER_DELAY 11
+ //It is 16 because QEventDispatcherWin32Private::registerTimer specifically checks if the interval
+ //is greater than 11 to determine if it should use a system timer (or the multimedia timer).
+#define STARTSTOP_TIMER_DELAY 16
#else
#define STARTSTOP_TIMER_DELAY 0
#endif