forked from qt-creator/qt-creator
VCS: Fix encoding for editor-related commands
For example Git Log. Change-Id: I1d838f86dc70f000e66443eece60adc07310c8b8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tobias Hunger
parent
81a4f6b970
commit
ab80f512a0
@@ -224,6 +224,8 @@ VcsCommand *VcsBaseClientImpl::vcsExec(const QString &workingDirectory, const QS
|
||||
useOutputToWindow ? VcsWindowOutputBind : NoOutputBind);
|
||||
command->setCookie(cookie);
|
||||
command->addFlags(additionalFlags);
|
||||
if (editor)
|
||||
command->setCodec(editor->codec());
|
||||
enqueueJob(command, arguments);
|
||||
return command;
|
||||
}
|
||||
|
Reference in New Issue
Block a user