diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-30 10:56:16 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-30 10:56:16 (GMT) |
commit | 6fbd9589cbe77c4d3213ba43c7e88fc451c9664e (patch) | |
tree | bfec32f37cdeed130731b758d4fe9fe14e2a8392 /src/gui/painting/qbackingstore.cpp | |
parent | 83fff2f970b9a7b41861336c7dca0eadbda28099 (diff) | |
parent | 8c4edbd04f350294462fd689748de2dd7cc84d47 (diff) | |
download | Qt-6fbd9589cbe77c4d3213ba43c7e88fc451c9664e.zip Qt-6fbd9589cbe77c4d3213ba43c7e88fc451c9664e.tar.gz Qt-6fbd9589cbe77c4d3213ba43c7e88fc451c9664e.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-platform-team into 4.6
Diffstat (limited to 'src/gui/painting/qbackingstore.cpp')
-rw-r--r-- | src/gui/painting/qbackingstore.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp index 3cd1402..00966d6 100644 --- a/src/gui/painting/qbackingstore.cpp +++ b/src/gui/painting/qbackingstore.cpp @@ -498,18 +498,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); |