forked from qt-creator/qt-creator
vcsbase : fix bug in VCSBaseClient::log()
The editor returned by createVCSEditor() had always the wrong source Merge-request: 269 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -290,7 +290,7 @@ void VCSBaseClient::log(const QString &workingDir, const QStringList &files,
|
||||
const QString title = vcsEditorTitle(vcsCmdString, id);
|
||||
const QString source = VCSBase::VCSBaseEditorWidget::getSource(workingDir, files);
|
||||
|
||||
VCSBase::VCSBaseEditorWidget *editor = createVCSEditor(kind, title, workingDir, true,
|
||||
VCSBase::VCSBaseEditorWidget *editor = createVCSEditor(kind, title, source, true,
|
||||
vcsCmdString.toLatin1().constData(), id);
|
||||
editor->setFileLogAnnotateEnabled(enableAnnotationContextMenu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user