forked from qt-creator/qt-creator
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 <david.schulz@qt.io>
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
void checkPriority(TextEditorWidget *widget, int pos, ReportPriority report);
|
||||
virtual void abort() {} // Implement for asynchronous priority reporter
|
||||
|
||||
void showToolTip(TextEditorWidget *widget, const QPoint &point, bool decorate = true);
|
||||
void showToolTip(TextEditorWidget *widget, const QPoint &point);
|
||||
|
||||
protected:
|
||||
enum {
|
||||
@@ -84,7 +84,6 @@ protected:
|
||||
|
||||
private:
|
||||
void process(TextEditorWidget *widget, int pos, ReportPriority report);
|
||||
void decorateToolTip();
|
||||
|
||||
QString m_toolTip;
|
||||
Core::HelpItem m_lastHelpItemIdentified;
|
||||
|
||||
Reference in New Issue
Block a user