aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddevice.cpp
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2024-01-21 10:51:43 +0100
committerJarek Kobus <[email protected]>2024-01-21 10:14:07 +0000
commit7fc991ac8ef7c2a2eb2de1a2713192960e3be976 (patch)
tree57f21775ce3f7b67febe77910abe7411e15caad9 /src/plugins/android/androiddevice.cpp
parentce6087a59116d20e277833b711765f741981b789 (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/plugins/android/androiddevice.cpp')
-rw-r--r--src/plugins/android/androiddevice.cpp1
1 files changed, 0 insertions, 1 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] {