diff options
author | hjk <[email protected]> | 2021-05-06 13:07:36 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2021-05-11 09:45:24 +0000 |
commit | f2f40efa03f5303df732310d12efec50251fd075 (patch) | |
tree | c464c4dec218bad87efd7182140629fa927bb184 /src/plugins/git/gitclient.cpp | |
parent | 8aafe36d01eba496e3cb6664a5eed9c863152468 (diff) |
Utils: Move process arguments class out of QtcProcess
The main QtcProcess interface is nowadays a CommandLine, with no
explicit references left to QtcProcess::Arguments and related static
helper functions, so it only clutters the QtcProcess class interface
So move these items out of QtcProcess, later potentially to a separate
file pair.
Change-Id: I45c300b656f5b30e2e2717232c855fdd97c2d1d7
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.cpp')
-rw-r--r-- | src/plugins/git/gitclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 4e83d0b442e..bd95e8bd25f 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -2574,7 +2574,7 @@ bool GitClient::tryLauchingGitK(const Environment &env, } const QString gitkOpts = settings().gitkOptions.value(); if (!gitkOpts.isEmpty()) - arguments.append(QtcProcess::splitArgs(gitkOpts, HostOsInfo::hostOs())); + arguments.append(ProcessArgs::splitArgs(gitkOpts, HostOsInfo::hostOs())); if (!fileName.isEmpty()) arguments << "--" << fileName; VcsOutputWindow::appendCommand(workingDirectory, {binary, arguments}); |