diff options
author | hjk <hjk121@nokiamail.com> | 2013-08-29 19:00:34 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-08-30 11:34:39 +0200 |
commit | d66369e21df4629d276dcf394047da5439de3687 (patch) | |
tree | eb4edd3e4b956c5f9ace5385a5cc730a8b19ea87 /src/plugins/cppeditor/cpphoverhandler.cpp | |
parent | 975e1be2ab94711e51ec0c24ca3101de9a3a3367 (diff) |
Core/Help: Clean up HelpManager interface and users
Change-Id: Ia6edf583f2a002d7c6f4878df670a78614ea087d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
-rw-r--r-- | src/plugins/cppeditor/cpphoverhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp index cf7d3bab47..bd69c13eae 100644 --- a/src/plugins/cppeditor/cpphoverhandler.cpp +++ b/src/plugins/cppeditor/cpphoverhandler.cpp @@ -79,12 +79,11 @@ void CppHoverHandler::identifyMatch(TextEditor::ITextEditor *editor, int pos) setToolTip(cppElement->tooltip); QStringList candidates = cppElement->helpIdCandidates; candidates.removeDuplicates(); - HelpManager *hm = HelpManager::instance(); foreach (const QString &helpId, candidates) { if (helpId.isEmpty()) continue; - const QMap<QString, QUrl> helpLinks = hm->linksForIdentifier(helpId); + const QMap<QString, QUrl> helpLinks = Core::HelpManager::linksForIdentifier(helpId); if (!helpLinks.isEmpty()) { setLastHelpItemIdentified(TextEditor::HelpItem(helpId, cppElement->helpMark, |