aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/basehoverhandler.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-08-29 17:17:24 +0200
committerhjk <hjk121@nokiamail.com>2013-08-30 11:25:51 +0200
commiteb724f3772776849585be1417e90b1fb41a29698 (patch)
tree90709baa1d642b021cb81286cb34610db95d1ce8 /src/plugins/texteditor/basehoverhandler.cpp
parent4a24df38a3a164c51f9cdddd566c9928a7482a0a (diff)
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/texteditor/basehoverhandler.cpp')
-rw-r--r--src/plugins/texteditor/basehoverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/basehoverhandler.cpp b/src/plugins/texteditor/basehoverhandler.cpp
index e7a37ec0e4d..2019aba61c7 100644
--- a/src/plugins/texteditor/basehoverhandler.cpp
+++ b/src/plugins/texteditor/basehoverhandler.cpp
@@ -43,7 +43,7 @@ using namespace Core;
BaseHoverHandler::BaseHoverHandler(QObject *parent) : QObject(parent), m_diagnosticTooltip(false)
{
// Listen for editor opened events in order to connect to tooltip/helpid requests
- connect(ICore::editorManager(), SIGNAL(editorOpened(Core::IEditor*)),
+ connect(Core::EditorManager::instance(), SIGNAL(editorOpened(Core::IEditor*)),
this, SLOT(editorOpened(Core::IEditor*)));
}