summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/basetextmark.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/texteditor/basetextmark.cpp
parentd1dac15cc57549ac7da6c6007685e5bacdbf1828 (diff)
downloadqt-creator-113b81e9dbc67dab5252eb9b6a8aaa57efda3de0.tar.gz
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
Diffstat (limited to 'src/plugins/texteditor/basetextmark.cpp')
-rw-r--r--src/plugins/texteditor/basetextmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/basetextmark.cpp b/src/plugins/texteditor/basetextmark.cpp
index 4e4adf28bd..c5db693256 100644
--- a/src/plugins/texteditor/basetextmark.cpp
+++ b/src/plugins/texteditor/basetextmark.cpp
@@ -57,7 +57,7 @@ BaseTextMark::BaseTextMark(const QString &filename, int line)
void BaseTextMark::init()
{
m_init = true;
- Core::EditorManager *em = ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>()->editorManager();
+ Core::EditorManager *em = Core::ICore::instance()->editorManager();
connect(em, SIGNAL(editorOpened(Core::IEditor *)), this, SLOT(editorOpened(Core::IEditor *)));
foreach (Core::IEditor *editor, em->openedEditors())
@@ -117,7 +117,7 @@ void BaseTextMark::updateMarker()
void BaseTextMark::moveMark(const QString & /* filename */, int /* line */)
{
- Core::EditorManager *em = ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>()->editorManager();
+ Core::EditorManager *em = Core::ICore::instance()->editorManager();
if (!m_init) {
connect(em, SIGNAL(editorOpened(Core::IEditor *)), this, SLOT(editorOpened(Core::IEditor *)));
m_init = true;