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:
@@ -548,7 +548,6 @@ HelpWidget::~HelpWidget()
|
||||
if (m_openPagesAction)
|
||||
Core::ActionManager::unregisterAction(m_openPagesAction, Constants::HELP_OPENPAGES);
|
||||
}
|
||||
Core::ICore::removeContextObject(m_context);
|
||||
Core::ActionManager::unregisterAction(m_copy, Core::Constants::COPY);
|
||||
Core::ActionManager::unregisterAction(m_printAction, Core::Constants::PRINT);
|
||||
if (m_toggleSideBarAction)
|
||||
|
||||
Reference in New Issue
Block a user