Utils: Rename SychronousProcess::terminate to stopProcess

To align with QtcProcess.

Change-Id: I02e739b55ec95d5f516037de38b4f6228859809f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-05-06 10:13:00 +02:00
parent d825805c39
commit 771f1ef6d6
4 changed files with 5 additions and 6 deletions

View File

@@ -393,7 +393,7 @@ SynchronousProcessResponse ShellCommand::runSynchronous(const CommandLine &cmd,
{
SynchronousProcess process;
process.setExitCodeInterpreter(interpreter);
connect(this, &ShellCommand::terminate, &process, &SynchronousProcess::terminate);
connect(this, &ShellCommand::terminate, &process, &SynchronousProcess::stopProcess);
process.setEnvironment(processEnvironment());
process.setTimeoutS(timeoutS);
if (d->m_codec)