aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clearcase
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-03-05 17:50:55 +0100
committerEike Ziller <eike.ziller@digia.com>2014-03-07 16:02:14 +0100
commit02b3a79c5f30cd5c808408caff598f2f4f0a299f (patch)
tree0ef937a059811fdd2ba030a9452c6a64d6b9b819 /src/plugins/clearcase
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 <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/clearcase')
-rw-r--r--src/plugins/clearcase/clearcaseplugin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/clearcase/clearcaseplugin.cpp b/src/plugins/clearcase/clearcaseplugin.cpp
index 1a474a7f637..0177f740f89 100644
--- a/src/plugins/clearcase/clearcaseplugin.cpp
+++ b/src/plugins/clearcase/clearcaseplugin.cpp
@@ -1517,7 +1517,9 @@ IEditor *ClearCasePlugin::showOutputInEditor(const QString& title, const QString
qDebug() << "ClearCasePlugin::showOutputInEditor" << title << id.name()
<< "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(annotateVersion(QString,QString,QString,int)));
ClearCaseEditor *e = qobject_cast<ClearCaseEditor*>(editor->widget());