Cancel disconnect wifi function added in mainwindow
This commit is contained in:
parent
b77d8de876
commit
3f509bc538
|
@ -2735,9 +2735,10 @@ void MainWindow::onExternalWifiChange()
|
|||
QString txt(tr("WiFi already disconnect"));
|
||||
objKyDBus->showDesktopNotify(txt);
|
||||
|
||||
//先注释掉,这样会导致休眠唤醒操作之后,wifi无法回连
|
||||
//wifi被拉黑后强制断开wifi网络
|
||||
QString disWifiCmd = "nmcli connection down '" + actWifiUuid + "'";
|
||||
system(disWifiCmd.toUtf8().data());
|
||||
//QString disWifiCmd = "nmcli connection down '" + actWifiUuid + "'";
|
||||
//system(disWifiCmd.toUtf8().data());
|
||||
}
|
||||
|
||||
if (is_btnWifiList_clicked) {
|
||||
|
|
Loading…
Reference in New Issue