fix error

This commit is contained in:
jzxc95 2021-07-09 09:38:40 +08:00
parent 3d82cfb811
commit 167375b794
2 changed files with 6 additions and 7 deletions

View File

@ -799,7 +799,7 @@ void MainWindow::iconActivated(QSystemTrayIcon::ActivationReason reason)
} }
if (!is_init_wifi_list && !is_connect_hide_wifi && is_stop_check_net_state==0) { if (!is_init_wifi_list && !is_connect_hide_wifi && is_stop_check_net_state==0) {
is_stop_:check_net_state = 1; is_stop_check_net_state = 1;
if (is_btnWifiList_clicked == 1) { if (is_btnWifiList_clicked == 1) {
BackThread *loop_bt = new BackThread(); BackThread *loop_bt = new BackThread();
IFace *loop_iface = loop_bt->execGetIface(); IFace *loop_iface = loop_bt->execGetIface();

View File

@ -840,11 +840,11 @@ void OneConnForm::on_btnConnPWD_clicked()
mw->m_wifi_list_pwd_changed.removeOne(wifiName); mw->m_wifi_list_pwd_changed.removeOne(wifiName);
} }
//TODO:connect not saved wireless
if (!uuid.isEmpty()) // if (!uuid.isEmpty())
{ // {
bIsNotSaved = true; // bIsNotSaved = true;
} // }
emit activateWirelessConnectionWithPWD(wifiName,ui->lePassword->text(),bIsNotSaved,uuid); emit activateWirelessConnectionWithPWD(wifiName,ui->lePassword->text(),bIsNotSaved,uuid);
} }
@ -1041,7 +1041,6 @@ void OneConnForm::slotConnWifiResult(int connFlag)
if(connFlag == 1) if(connFlag == 1)
{ {
qDebug() << "11111111111111111111111";
if (hasPwd) { if (hasPwd) {
if (mw) if (mw)
mw->m_wifi_list_pwd_changed.append(wifiName); mw->m_wifi_list_pwd_changed.append(wifiName);