diff options
| author | Eike Ziller <eike.ziller@digia.com> | 2013-07-09 12:14:33 +0200 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@digia.com> | 2013-07-12 11:58:24 +0200 |
| commit | 871a8cd0319a4acfc7d4e4187596571bbf86e041 (patch) | |
| tree | c61e3f54eb591ded80e4a8b49c3740175369a43d /src/plugins/debugger/sourceagent.cpp | |
| parent | 354cd410b09091c1fe63b96388d49c60639b035f (diff) | |
| download | qt-creator-871a8cd0319a4acfc7d4e4187596571bbf86e041.tar.gz | |
Work with documents instead of editors where possible in debugger
And where using editors is necessary, take *all* editors into account,
not a random set of what previously was called "original" editors (when
using splits).
Change-Id: Id6bbad08f3083b6744fc2edcf0b87ba504d3257b
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/sourceagent.cpp')
| -rw-r--r-- | src/plugins/debugger/sourceagent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/sourceagent.cpp b/src/plugins/debugger/sourceagent.cpp index 16132473fc..daa966204a 100644 --- a/src/plugins/debugger/sourceagent.cpp +++ b/src/plugins/debugger/sourceagent.cpp @@ -117,7 +117,7 @@ void SourceAgent::setContent(const QString &filePath, const QString &content) CppEditor::Constants::CPPEDITOR_ID, &titlePattern, content)); QTC_ASSERT(d->editor, return); - d->editor->setProperty(Debugger::Constants::OPENED_BY_DEBUGGER, true); + d->editor->document()->setProperty(Debugger::Constants::OPENED_BY_DEBUGGER, true); BaseTextEditorWidget *baseTextEdit = qobject_cast<BaseTextEditorWidget *>(d->editor->widget()); |
