diff options
author | hjk <hjk121@nokiamail.com> | 2013-08-29 17:17:24 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-08-30 11:25:51 +0200 |
commit | eb724f3772776849585be1417e90b1fb41a29698 (patch) | |
tree | 90709baa1d642b021cb81286cb34610db95d1ce8 /src/plugins/vcsbase | |
parent | 4a24df38a3a164c51f9cdddd566c9928a7482a0a (diff) | |
download | qt-creator-eb724f3772776849585be1417e90b1fb41a29698.tar.gz |
EditorManager: Use interface directly instead of going through ICore
In the majority of cases we were doing that anyways, having two
ways is just needlessly confusing.
Change-Id: Ied362a702c23beee528368d74df1f2aabe5807f8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index 0b1247e892..7931049360 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -206,9 +206,9 @@ public slots: StateListener::StateListener(QObject *parent) : QObject(parent) { - connect(Core::ICore::editorManager(), SIGNAL(currentEditorChanged(Core::IEditor*)), + connect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor*)), this, SLOT(slotStateChanged())); - connect(Core::ICore::editorManager(), SIGNAL(currentDocumentStateChanged()), + connect(Core::EditorManager::instance(), SIGNAL(currentDocumentStateChanged()), this, SLOT(slotStateChanged())); connect(Core::ICore::vcsManager(), SIGNAL(repositoryChanged(QString)), this, SLOT(slotStateChanged())); |