summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/menus
stat options
Period:
Authors:

Commits per author per week (path 'examples/activeqt/menus')

AuthorW35 2024W36 2024W37 2024W38 2024Total
Total00000
it info' class='commit-info'> authorThierry Bastian <thierry.bastian@nokia.com>2009-10-05 13:27:55 (GMT) committerJason McDonald <jason.mcdonald@nokia.com>2009-10-07 02:46:39 (GMT) commitcfd42f484cac007305b9422912ccf6094ffddb7c (patch) treee73ae6ab897d4a87d40d4492743269fad1148ad0 parent012fe2f42f8a44d94f2b6c2091c322e21b20d2ed (diff)downloadQt-cfd42f484cac007305b9422912ccf6094ffddb7c.zip
Qt-cfd42f484cac007305b9422912ccf6094ffddb7c.tar.gz
Qt-cfd42f484cac007305b9422912ccf6094ffddb7c.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 (cherry picked from commit 9dcd06efae3e2d78ef402bf06e655e7e95550a39)
Diffstat
-rw-r--r--src/corelib/animation/qabstractanimation.cpp6
-rw-r--r--src/corelib/kernel/qeventdispatcher_win.cpp4
2 files changed, 7 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
diff --git a/src/corelib/kernel/qeventdispatcher_win.cpp b/src/corelib/kernel/qeventdispatcher_win.cpp