summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-10-19 14:14:13 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-10-20 12:17:53 (GMT)
commit4e22238ac86eb7ddb88b7dec73d419767da72323 (patch)
treef511eee58e18c3aed044ee4390c615127cca7f85 /src/corelib/animation
parent31f1ff91028dd7f90925d5b3737e4d88b5fb07aa (diff)
downloadQt-4e22238ac86eb7ddb88b7dec73d419767da72323.zip
Qt-4e22238ac86eb7ddb88b7dec73d419767da72323.tar.gz
Qt-4e22238ac86eb7ddb88b7dec73d419767da72323.tar.bz2
Remove workarounds for Win32 event dispatcher bugs
This includes the startstop timer delay in QAbstractAnimation, and the inSizeMove workaround for paint events. Reviewed-by: Prasanth Ullattil
Diffstat (limited to 'src/corelib/animation')
-rw-r--r--src/corelib/animation/qabstractanimation.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/corelib/animation/qabstractanimation.cpp b/src/corelib/animation/qabstractanimation.cpp
index c775a00..df8b548 100644
--- a/src/corelib/animation/qabstractanimation.cpp
+++ b/src/corelib/animation/qabstractanimation.cpp
@@ -157,19 +157,7 @@
#ifndef QT_NO_ANIMATION
#define DEFAULT_TIMER_INTERVAL 16
-
-#ifdef Q_WS_WIN
- /// Fix for Qt 4.7
- //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 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
-
QT_BEGIN_NAMESPACE