aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchwindow.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-10-22 13:04:47 +0200
committerhjk <hjk121@nokiamail.com>2014-10-23 14:12:33 +0200
commit9ba17acc8016554fcd4311e112a90a993d791ba3 (patch)
treee8e37aa26e8a6a463e897b231485d7ede7d64a92 /src/plugins/debugger/watchwindow.cpp
parent6b4c254bf3644a2a9aefafc73309806372c8366b (diff)
Debugger: Replace debuggerCore() by equivalent free functions
One indirection less on the user code side, and easier to export if needed (partially addressing QTCREATORBUG-13187) Change-Id: I13ab9f471a3a34da7a6331aefc83f6d02413bfab Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/debugger/watchwindow.cpp')
-rw-r--r--src/plugins/debugger/watchwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp
index 4a7d51ee9d..67da4b3246 100644
--- a/src/plugins/debugger/watchwindow.cpp
+++ b/src/plugins/debugger/watchwindow.cpp
@@ -956,7 +956,7 @@ void WatchTreeView::contextMenuEvent(QContextMenuEvent *ev)
copyToClipboard(mi1.data().toString());
} else if (act == &actShowInEditor) {
QString contents = handler->editorContents();
- debuggerCore()->openTextEditor(tr("Locals & Expressions"), contents);
+ Internal::openTextEditor(tr("Locals & Expressions"), contents);
} else if (act == &actCloseEditorToolTips) {
DebuggerToolTipManager::closeAllToolTips();
}