diff options
author | hjk <qthjk@ovi.com> | 2012-10-10 22:32:31 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-10-11 23:22:04 +0200 |
commit | 58f101cb5515aad3b9b6edfb9fffd24b1dac1b73 (patch) | |
tree | 625b6e568b48d041adc87e14e81857cb3b24cb7f /src/plugins/cppeditor/cpphoverhandler.cpp | |
parent | 6dfe3207d26ece972a43fedaf439a17e34b92dcb (diff) |
CppEditor: Direct element access, less symbols.
Change-Id: Id79b69b271ad90c742a3884f8b818a7ee7f26a5b
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
-rw-r--r-- | src/plugins/cppeditor/cpphoverhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp index f0b2de2a8d..106bc1c282 100644 --- a/src/plugins/cppeditor/cpphoverhandler.cpp +++ b/src/plugins/cppeditor/cpphoverhandler.cpp @@ -82,12 +82,12 @@ void CppHoverHandler::identifyMatch(TextEditor::ITextEditor *editor, int pos) if (evaluator.identifiedCppElement()) { const QSharedPointer<CppElement> &cppElement = evaluator.cppElement(); if (!isDiagnosticTooltip()) - setToolTip(cppElement->tooltip()); - foreach (const QString &helpId, cppElement->helpIdCandidates()) { + setToolTip(cppElement->tooltip); + foreach (const QString &helpId, cppElement->helpIdCandidates) { if (!Core::HelpManager::instance()->linksForIdentifier(helpId).isEmpty()) { setLastHelpItemIdentified(TextEditor::HelpItem(helpId, - cppElement->helpMark(), - cppElement->helpCategory())); + cppElement->helpMark, + cppElement->helpCategory)); break; } } |