Commit cba7359a 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 <tobias.hunger@nokia.com>
parent dbbd7244
......@@ -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));
enqueueJob(job);
}
......
Markdown is supported
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