forked from qt-creator/qt-creator
CommandLine: Use more 1-arg c'tor
Change-Id: If52c4094f94859d51e31862d913b1756e333e512 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -2531,7 +2531,7 @@ bool GitClient::launchGitBash(const FilePath &workingDirectory)
|
||||
success = false;
|
||||
} else {
|
||||
const FilePath gitBash = git.absolutePath().parentDir() / "git-bash.exe";
|
||||
success = Process::startDetached({gitBash, {}}, workingDirectory);
|
||||
success = Process::startDetached(CommandLine{gitBash}, workingDirectory);
|
||||
}
|
||||
|
||||
if (!success)
|
||||
|
||||
Reference in New Issue
Block a user