aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cvs/cvsplugin.cpp
diff options
context:
space:
mode:
authorTobias Hunger <[email protected]>2014-03-05 17:50:55 +0100
committerEike Ziller <[email protected]>2014-03-07 16:02:14 +0100
commit02b3a79c5f30cd5c808408caff598f2f4f0a299f (patch)
tree0ef937a059811fdd2ba030a9452c6a64d6b9b819 /src/plugins/cvs/cvsplugin.cpp
parentf6f8e56cf1d2aa45e12a1d0ccfc6d3bdf3528cf8 (diff)
VCS: Open diff/blame editors in other split
... if there are other splits that is. Task-number: QTCREATORBUG-11623 Change-Id: Icb3b1c86c39d88e90916079e8ab347574ae9a361 Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r--src/plugins/cvs/cvsplugin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp
index 9e7bb2fe472..7dacfd06315 100644
--- a/src/plugins/cvs/cvsplugin.cpp
+++ b/src/plugins/cvs/cvsplugin.cpp
@@ -1169,7 +1169,9 @@ IEditor *CvsPlugin::showOutputInEditor(const QString& title, const QString &outp
qDebug() << "CVSPlugin::showOutputInEditor" << title << id.name()
<< "source=" << source << "Size= " << output.size() << " Type=" << editorType << debugCodec(codec);
QString s = title;
- IEditor *editor = EditorManager::openEditorWithContents(id, &s, output.toUtf8());
+ IEditor *editor = EditorManager::openEditorWithContents(id, &s, output.toUtf8(),
+ (EditorManager::OpenInOtherSplit
+ | EditorManager::NoNewSplits));
connect(editor, SIGNAL(annotateRevisionRequested(QString,QString,QString,int)),
this, SLOT(vcsAnnotate(QString,QString,QString,int)));
CvsEditor *e = qobject_cast<CvsEditor*>(editor->widget());