diff options
author | hjk <hjk@qt.io> | 2019-06-07 15:27:50 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-06-11 11:01:16 +0000 |
commit | 00b692e67e5fcfb4946d1da8094b05c9bf5f35ad (patch) | |
tree | 0f426c84a628cc3474b8ac85ee8a74eb04cc8fff /src/plugins/git/gitversioncontrol.cpp | |
parent | 749eaaad81145072181a42aaf007ada71816cf3b (diff) | |
download | qt-creator-00b692e67e5fcfb4946d1da8094b05c9bf5f35ad.tar.gz |
Utils: Use CommandLine in ShellCommand
... and adapt users.
Change-Id: I218523ffe34720d5fe199aa0ca6892a8dc2985fc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitversioncontrol.cpp')
-rw-r--r-- | src/plugins/git/gitversioncontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitversioncontrol.cpp b/src/plugins/git/gitversioncontrol.cpp index 379eb67c64..38231527b2 100644 --- a/src/plugins/git/gitversioncontrol.cpp +++ b/src/plugins/git/gitversioncontrol.cpp @@ -159,7 +159,7 @@ Core::ShellCommand *GitVersionControl::createInitialCheckoutCommand(const QStrin auto command = new VcsBase::VcsCommand(baseDirectory.toString(), m_client->processEnvironment()); command->addFlags(VcsBase::VcsCommand::SuppressStdErr); - command->addJob(m_client->vcsBinary(), args, -1); + command->addJob({m_client->vcsBinary(), args}, -1); return command; } |