aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/windowsupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/windowsupport.cpp')
-rw-r--r--src/plugins/coreplugin/windowsupport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/windowsupport.cpp b/src/plugins/coreplugin/windowsupport.cpp
index 26117ba12f..4915c58d9a 100644
--- a/src/plugins/coreplugin/windowsupport.cpp
+++ b/src/plugins/coreplugin/windowsupport.cpp
@@ -42,6 +42,8 @@
#include <QWidget>
#include <QWindowStateChangeEvent>
+using namespace Utils;
+
namespace Core {
namespace Internal {
@@ -91,7 +93,6 @@ WindowSupport::~WindowSupport()
ActionManager::unregisterAction(m_closeAction, Constants::CLOSE_WINDOW);
}
ActionManager::unregisterAction(m_toggleFullScreenAction, Constants::TOGGLE_FULLSCREEN);
- ICore::removeContextObject(m_contextObject);
m_windowList->removeWindow(m_window);
}
}