summaryrefslogtreecommitdiffstats
path: root/src/activeqt
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-02-26 11:12:13 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-02-26 11:40:31 (GMT)
commit3604c59a93eae6f27407316e5be3840f87d01711 (patch)
tree0030395d3cc516a069b69c21dc1c3ec6e991388c /src/activeqt
parentc027f0ae1967ec1d64cb2c9679c8b57f18faf7f5 (diff)
downloadQt-3604c59a93eae6f27407316e5be3840f87d01711.zip
Qt-3604c59a93eae6f27407316e5be3840f87d01711.tar.gz
Qt-3604c59a93eae6f27407316e5be3840f87d01711.tar.bz2
Remove unwanted code after c027f0ae1967ec1d64cb2c9679c8b57f18faf7f5
The LockWindowUpdate() was used to reduce the flicker caused when calling EnableModeless(). After the above commit, no repaints will be generated by this code path, so we can remove this call. Task-number: QTBUG-8355 Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/activeqt')
-rw-r--r--src/activeqt/container/qaxwidget.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/activeqt/container/qaxwidget.cpp b/src/activeqt/container/qaxwidget.cpp
index 9149320..865c26c 100644
--- a/src/activeqt/container/qaxwidget.cpp
+++ b/src/activeqt/container/qaxwidget.cpp
@@ -1438,9 +1438,6 @@ extern Q_GUI_EXPORT bool qt_win_ignoreNextMouseReleaseEvent;
HRESULT WINAPI QAxClientSite::EnableModeless(BOOL fEnable)
{
-#if !defined(Q_OS_WINCE)
- LockWindowUpdate(host->window()->winId());
-#endif
EnableWindow(host->window()->winId(), fEnable);
if (!fEnable) {
@@ -1451,9 +1448,6 @@ HRESULT WINAPI QAxClientSite::EnableModeless(BOOL fEnable)
QApplicationPrivate::leaveModal(host);
}
qt_win_ignoreNextMouseReleaseEvent = false;
-#if !defined(Q_OS_WINCE)
- LockWindowUpdate(0);
-#endif
return S_OK;
}