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:
cerf
2011-03-14 09:41:25 +01:00
committed by Tobias Hunger
parent 53ba19a102
commit 86b77ca950

View File

@@ -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);