summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/disassembleragent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/disassembleragent.cpp')
-rw-r--r--src/plugins/debugger/disassembleragent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/disassembleragent.cpp b/src/plugins/debugger/disassembleragent.cpp
index a45dbf3fa8..16cc796703 100644
--- a/src/plugins/debugger/disassembleragent.cpp
+++ b/src/plugins/debugger/disassembleragent.cpp
@@ -334,7 +334,7 @@ void DisassemblerAgent::setContentsToEditor(const DisassemblerLines &contents)
plainTextEdit->setPlainText(str);
plainTextEdit->setReadOnly(true);
- d->editor->setDisplayName(_("Disassembler (%1)")
+ d->editor->document()->setDisplayName(_("Disassembler (%1)")
.arg(d->location.functionName()));
updateBreakpointMarkers();