diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-02-26 12:12:13 +0100 |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-02-26 12:40:31 +0100 |
commit | 3604c59a93eae6f27407316e5be3840f87d01711 (patch) | |
tree | 0030395d3cc516a069b69c21dc1c3ec6e991388c /src/activeqt | |
parent | c027f0ae1967ec1d64cb2c9679c8b57f18faf7f5 (diff) | |
download | qt4-tools-3604c59a93eae6f27407316e5be3840f87d01711.tar.gz |
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.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/activeqt/container/qaxwidget.cpp b/src/activeqt/container/qaxwidget.cpp index 914932077e..865c26c6bb 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; } |