forked from qt-creator/qt-creator
Debugger: Fix/adjust tooltip handling after editor changes
Change-Id: I67ac61619c13b6cec327e8a27b45e9acfa5905f5 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -2943,6 +2943,7 @@ void BaseTextEditorWidgetPrivate::processTooltipRequest(const QTextCursor &c)
|
||||
{
|
||||
const QPoint toolTipPoint = q->toolTipPosition(c);
|
||||
bool handled = false;
|
||||
emit q->tooltipOverrideRequested(toolTipPoint, c.position(), &handled);
|
||||
if (!handled)
|
||||
emit q->tooltipRequested(toolTipPoint, c.position());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user