summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/modemanager.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-01-20 11:52:04 +0100
committerhjk <qtc-committer@nokia.com>2009-01-20 11:52:04 +0100
commit113b81e9dbc67dab5252eb9b6a8aaa57efda3de0 (patch)
tree7a80819280d648a2cdd1eecf1cf645d6bbcc64d5 /src/plugins/coreplugin/modemanager.cpp
parentd1dac15cc57549ac7da6c6007685e5bacdbf1828 (diff)
downloadqt-creator-113b81e9dbc67dab5252eb9b6a8aaa57efda3de0.tar.gz
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
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 46262e4ee5..24a0b6eac3 100644
--- a/src/plugins/coreplugin/modemanager.cpp
+++ b/src/plugins/coreplugin/modemanager.cpp
@@ -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);