forked from qt-creator/qt-creator
Remove unnecessary removeContextObject calls
They are removed on deletion now. Change-Id: I08461ea4938e24ab450df013a0f8f820032381da Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -91,7 +91,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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user