From c46c823a4e5d96a63a532de8f374fe070b4bf165 Mon Sep 17 00:00:00 2001 From: chenlelin Date: Tue, 22 Dec 2020 16:35:29 +0800 Subject: [PATCH] Fix bug choke occured from wired interface change to wireless interface --- src/ksimplenm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ksimplenm.cpp b/src/ksimplenm.cpp index a614929a..b76033ce 100644 --- a/src/ksimplenm.cpp +++ b/src/ksimplenm.cpp @@ -58,8 +58,8 @@ void KSimpleNM::execGetWifiList() type = 1; runShellProcess->start("nmcli -f signal,security,freq,ssid device wifi"); - runShellProcess->waitForStarted(-1); - runShellProcess->waitForFinished(-1); + //runShellProcess->waitForStarted(-1); + //runShellProcess->waitForFinished(-1); } //读取获取到的结果