forked from qt-creator/qt-creator
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
This commit is contained in:
@@ -217,7 +217,7 @@ void ModeManager::currentTabChanged(int index)
|
||||
// FIXME: This hardcoded context update is required for the Debug and Edit modes, since
|
||||
// they use the editor widget, which is already a context widget so the main window won't
|
||||
// go further up the parent tree to find the mode context.
|
||||
CoreImpl *core = CoreImpl::instance();
|
||||
ICore *core = ICore::instance();
|
||||
foreach (const int context, m_addedContexts)
|
||||
core->removeAdditionalContext(context);
|
||||
|
||||
|
Reference in New Issue
Block a user