Commit 901ea8fa authored by cerf's avatar cerf Committed by Tobias Hunger
Browse files

vcsbase : fix bug in VCSBaseClient::view()

The VCS command was executed in the wrong working directory

Merge-request: 269
Reviewed-by: default avatarTobias Hunger <>
parent 86b77ca9
......@@ -399,7 +399,7 @@ void VCSBaseClient::view(const QString &source, const QString &id)
VCSBase::VCSBaseEditorWidget *editor = createVCSEditor(kind, title, source,
true, "view", id);
QSharedPointer<VCSJob> job(new VCSJob(source, args, editor));
QSharedPointer<VCSJob> job(new VCSJob(QFileInfo(source).absolutePath(), args, editor));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment