Cancel disconnect wifi function added in mainwindow

This commit is contained in:
chenlelin 2021-01-29 09:26:05 +08:00
parent b77d8de876
commit 3f509bc538
1 changed files with 3 additions and 2 deletions

View File

@ -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) {