diff options
author | Jarek Kobus <[email protected]> | 2024-01-21 10:51:43 +0100 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2024-01-21 10:14:07 +0000 |
commit | 7fc991ac8ef7c2a2eb2de1a2713192960e3be976 (patch) | |
tree | 57f21775ce3f7b67febe77910abe7411e15caad9 /src | |
parent | ce6087a59116d20e277833b711765f741981b789 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/android/androiddevice.cpp | 1 | ||||
-rw-r--r-- | src/plugins/git/gitclient.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp index 971c2619a3a..6d2afc85b14 100644 --- a/src/plugins/android/androiddevice.cpp +++ b/src/plugins/android/androiddevice.cpp @@ -477,7 +477,6 @@ void AndroidDeviceManager::eraseAvd(const IDevice::Ptr &device, QWidget *parent) const AndroidConfig &config = m_avdManager.config(); const CommandLine command(config.avdManagerToolPath(), {"delete", "avd", "-n", name}); qCDebug(androidDeviceLog).noquote() << "Running command (removeAvd):" << command.toUserOutput(); - m_removeAvdProcess->setTimeoutS(5); m_removeAvdProcess->setEnvironment(config.toolsEnvironment()); m_removeAvdProcess->setCommand(command); connect(m_removeAvdProcess.get(), &Process::done, this, [this, device] { diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 94f651043af..901c3d57a08 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -3476,7 +3476,6 @@ QFuture<QVersionNumber> GitClient::gitVersion() const proc->deleteLater(); }); - proc->setTimeoutS(vcsTimeoutS()); proc->setEnvironment(processEnvironment()); proc->setCommand({newGitBinary, {"--version"}}); proc->start(); |