Process: Remove no-op calls to setTimeoutS()

The timeout is only used with runBlocking(), otherwise it's no-op.

Change-Id: I7d81e4a73c7182bd19c435c112a2d64c3f40ba2e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2024-01-21 10:51:43 +01:00
parent ce6087a591
commit 7fc991ac8e
2 changed files with 0 additions and 2 deletions

View File

@@ -3476,7 +3476,6 @@ QFuture<QVersionNumber> GitClient::gitVersion() const
proc->deleteLater();
});
proc->setTimeoutS(vcsTimeoutS());
proc->setEnvironment(processEnvironment());
proc->setCommand({newGitBinary, {"--version"}});
proc->start();