forked from qt-creator/qt-creator
CppTools: Fix showing main help sentence in tooltip
Mouse hover on e.g. "QString" is supposed to show
QString
The QString class provides...
The sentence was removed unintentionally by
commit a7e8406ced
TextEditor: Remove unneeded functions in BaseHoverHandler
Change-Id: I356e66c0c21c528822c0f2e37f8058fa7b7d89bf
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -141,7 +141,7 @@ void CppHoverHandler::decorateToolTip()
|
||||
if (Qt::mightBeRichText(toolTip()))
|
||||
setToolTip(toolTip().toHtmlEscaped());
|
||||
|
||||
if (priority() != Priority_Diagnostic)
|
||||
if (priority() == Priority_Diagnostic)
|
||||
return;
|
||||
|
||||
const HelpItem &help = lastHelpItemIdentified();
|
||||
|
Reference in New Issue
Block a user