diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-09-17 10:10:40 +0300 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-09-17 10:52:47 +0000 |
commit | ab80f512a043e58495179aa702ad11b80c00a0c0 (patch) | |
tree | ecfed61d5945acbaf8b1e39416e3422e03ac60b2 | |
parent | 81a4f6b9704460d2c59be3238f7eb88f5770e42f (diff) | |
download | qt-creator-ab80f512a043e58495179aa702ad11b80c00a0c0.tar.gz |
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>
-rw-r--r-- | src/plugins/vcsbase/vcsbaseclient.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/vcsbase/vcsbaseclient.cpp b/src/plugins/vcsbase/vcsbaseclient.cpp index 3a0256e5f3..e140902566 100644 --- a/src/plugins/vcsbase/vcsbaseclient.cpp +++ b/src/plugins/vcsbase/vcsbaseclient.cpp @@ -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; } |