forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Eike Ziller
parent
f6f8e56cf1
commit
02b3a79c5f
@@ -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());
|
||||
|
Reference in New Issue
Block a user