aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/modemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/modemanager.cpp')
-rw-r--r--src/plugins/coreplugin/modemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/modemanager.cpp b/src/plugins/coreplugin/modemanager.cpp
index 7d25425092..243dbd4e84 100644
--- a/src/plugins/coreplugin/modemanager.cpp
+++ b/src/plugins/coreplugin/modemanager.cpp
@@ -315,7 +315,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.
- ICore::instance()->updateAdditionalContexts(d->m_addedContexts, mode->context());
+ ICore::updateAdditionalContexts(d->m_addedContexts, mode->context());
d->m_addedContexts = mode->context();
IMode *oldMode = 0;