aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2014-09-19 15:26:41 +0200
committerhjk <[email protected]>2014-09-19 16:00:24 +0200
commit970264a88e6bcc5360babda429f43d840501ffcf (patch)
tree68e5f47175a308b1082ef67ada9cef26d3952660 /src/plugins/debugger/debuggerplugin.cpp
parent74f24c96e1341a6fe287e562a905f6e4e70f4ab4 (diff)
Debugger: Operate tooltips on TextEditorWidgets, not TextEditor
Less indirection. Change-Id: Ifbd7195e853d02bfd6562c817fc7f30079913faf Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 95ba90f53db..07506aeb86e 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -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);