Remove waitforfinished() sentence for QProcess
This commit is contained in:
parent
3c3b277f76
commit
a5e39bc64b
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
//获取无线网络列表数据
|
||||
|
|
Loading…
Reference in New Issue