summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qbackingstore.cpp
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/gui/painting/qbackingstore.cpp
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/gui/painting/qbackingstore.cpp')
-rw-r--r--src/gui/painting/qbackingstore.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp
index 7c07df8..7facd91 100644
--- a/src/gui/painting/qbackingstore.cpp
+++ b/src/gui/painting/qbackingstore.cpp
@@ -497,18 +497,6 @@ static inline void sendUpdateRequest(QWidget *widget, bool updateImmediately)
if (!widget)
return;
-#if defined(Q_WS_WIN) && !defined(Q_OS_WINCE)
- if (QApplicationPrivate::inSizeMove && widget->internalWinId() && !updateImmediately
- && !widget->testAttribute(Qt::WA_DontShowOnScreen)) {
- // Tell Windows to send us a paint event if we're in WM_SIZE/WM_MOVE; posted events
- // are blocked until the mouse button is released. See task 146849.
- const QRegion rgn(qt_dirtyRegion(widget));
- InvalidateRgn(widget->internalWinId(), rgn.handle(), false);
- qt_widget_private(widget)->dirty = QRegion();
- return;
- }
-#endif
-
if (updateImmediately) {
QEvent event(QEvent::UpdateRequest);
QApplication::sendEvent(widget, &event);