Remove waitforfinished() sentence for QProcess

This commit is contained in:
chenlelin 2020-12-24 15:35:58 +08:00
parent 3c3b277f76
commit a5e39bc64b
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#
#-------------------------------------------------
QT += core gui x11extras dbus KWindowSystem svg
QT += core gui x11extras dbus KWindowSystem svg concurrent
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

View File

@ -46,8 +46,8 @@ void KSimpleNM::execGetLanList()
type = 0;
runShellProcess->start("nmcli -f type,uuid,name connection show");
runShellProcess->waitForStarted(-1);
runShellProcess->waitForFinished(-1);
//runShellProcess->waitForStarted(-1);
//runShellProcess->waitForFinished(-1);
}
//获取无线网络列表数据