This commit is contained in:
chenlelin 2021-01-29 17:24:18 +08:00
commit 1385141418
1 changed files with 3 additions and 2 deletions

View File

@ -2759,9 +2759,10 @@ void MainWindow::onExternalWifiChange()
QString txt(tr("WiFi already disconnect")); QString txt(tr("WiFi already disconnect"));
objKyDBus->showDesktopNotify(txt); objKyDBus->showDesktopNotify(txt);
//先注释掉这样会导致休眠唤醒操作之后wifi无法回连
//wifi被拉黑后强制断开wifi网络 //wifi被拉黑后强制断开wifi网络
QString disWifiCmd = "nmcli connection down '" + actWifiUuid + "'"; //QString disWifiCmd = "nmcli connection down '" + actWifiUuid + "'";
system(disWifiCmd.toUtf8().data()); //system(disWifiCmd.toUtf8().data());
} }
if (is_btnWifiList_clicked) { if (is_btnWifiList_clicked) {