aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cvs/cvsplugin.cpp
diff options
context:
space:
mode:
authorTobias Hunger <[email protected]>2014-03-06 15:44:13 +0100
committerEike Ziller <[email protected]>2014-03-07 15:56:43 +0100
commitc9b6897e787a7f8d9cbbc6636aa2e053fa638090 (patch)
treef8db167acc16e8f29094f5397f75ab76c1d0fd7a /src/plugins/cvs/cvsplugin.cpp
parentd52ee686d1ae63090e066faf4e2b66b90620b774 (diff)
EditorManager: Add OpenEditorFlags to openEditorWithContents
This requires moving the activateEditor call into openEditorWithContents. Remove that line elsewhere when editors are constructed. Keep it when reusing an existing editor though. Change-Id: I872f03e16fde42f3b8adec2cf2344b7cc495cd08 Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r--src/plugins/cvs/cvsplugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp
index fcca910b39d..9e7bb2fe472 100644
--- a/src/plugins/cvs/cvsplugin.cpp
+++ b/src/plugins/cvs/cvsplugin.cpp
@@ -1182,7 +1182,6 @@ IEditor *CvsPlugin::showOutputInEditor(const QString& title, const QString &outp
e->setSource(source);
if (codec)
e->setCodec(codec);
- EditorManager::activateEditor(editor);
return editor;
}