From 7fc991ac8ef7c2a2eb2de1a2713192960e3be976 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Sun, 21 Jan 2024 10:51:43 +0100 Subject: 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 --- src/plugins/android/androiddevice.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/android/androiddevice.cpp') 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] { -- cgit v1.2.3