From 177f14b11514075b19f236f02b1b3fcc3fb49fef Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 25 Oct 2019 15:16:47 +0200 Subject: TextEditor: Do not change the text format for tool tips We should not force the tool tip text to HTML when help content is available or when adding the F1 icon. Instead add help content and F1 icon into the tool tip layout. Change-Id: Ibe2d4fa2fb81bcda4e5aeb0d7d86dbf63fcf3ce6 Reviewed-by: David Schulz --- src/plugins/cpptools/cpphoverhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cpphoverhandler.cpp') diff --git a/src/plugins/cpptools/cpphoverhandler.cpp b/src/plugins/cpptools/cpphoverhandler.cpp index 057a9de73f..0598e1fb9c 100644 --- a/src/plugins/cpptools/cpphoverhandler.cpp +++ b/src/plugins/cpptools/cpphoverhandler.cpp @@ -62,7 +62,7 @@ void CppHoverHandler::identifyMatch(TextEditorWidget *editorWidget, int pos, Rep const QSharedPointer &cppElement = evaluator.cppElement(); const QStringList candidates = cppElement->helpIdCandidates; const HelpItem helpItem(candidates + fallback, cppElement->helpMark, cppElement->helpCategory); - setLastHelpItemIdentified(helpItem); // tool tip appended by BaseHoverHandler::decorateToolTip + setLastHelpItemIdentified(helpItem); if (!helpItem.isValid()) tip += cppElement->tooltip; } else { -- cgit v1.2.1