forked from qt-creator/qt-creator
Move displayName from IEditor to IDocument
The display name is not editor instance specific, but belongs to the document. Change-Id: I3c936f04a86e10e6ca30063d85036d85b4b5880e Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user