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/gitgrep.cpp | |
parent | 749eaaad81145072181a42aaf007ada71816cf3b (diff) |
Utils: Use CommandLine in ShellCommand
... and adapt users.
Change-Id: I218523ffe34720d5fe199aa0ca6892a8dc2985fc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitgrep.cpp')
-rw-r--r-- | src/plugins/git/gitgrep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitgrep.cpp b/src/plugins/git/gitgrep.cpp index 65d698ec0b3..f276a5e7257 100644 --- a/src/plugins/git/gitgrep.cpp +++ b/src/plugins/git/gitgrep.cpp @@ -196,7 +196,7 @@ public: connect(&watcher, &QFutureWatcher<FileSearchResultList>::canceled, command.data(), &VcsCommand::cancel); connect(command.data(), &VcsCommand::stdOutText, this, &GitGrepRunner::read); - SynchronousProcessResponse resp = command->runCommand(client->vcsBinary(), arguments, 0); + SynchronousProcessResponse resp = command->runCommand({client->vcsBinary(), arguments}, 0); switch (resp.result) { case SynchronousProcessResponse::TerminatedAbnormally: case SynchronousProcessResponse::StartFailed: |