forked from qt-creator/qt-creator
Debugger: Operate tooltips on TextEditorWidgets, not TextEditor
Less indirection. Change-Id: Ifbd7195e853d02bfd6562c817fc7f30079913faf Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1105,7 +1105,7 @@ public slots:
|
||||
exp = tc.selectedText();
|
||||
} else {
|
||||
int line, column;
|
||||
exp = cppExpressionAt(textEditor, tc.position(), &line, &column);
|
||||
exp = cppExpressionAt(textEditor->editorWidget(), tc.position(), &line, &column);
|
||||
}
|
||||
if (currentEngine()->hasCapability(WatchComplexExpressionsCapability))
|
||||
exp = removeObviousSideEffects(exp);
|
||||
|
||||
Reference in New Issue
Block a user