forked from qt-creator/qt-creator
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:
@@ -3476,7 +3476,6 @@ QFuture<QVersionNumber> GitClient::gitVersion() const
|
||||
proc->deleteLater();
|
||||
});
|
||||
|
||||
proc->setTimeoutS(vcsTimeoutS());
|
||||
proc->setEnvironment(processEnvironment());
|
||||
proc->setCommand({newGitBinary, {"--version"}});
|
||||
proc->start();
|
||||
|
||||
Reference in New Issue
Block a user