From 167375b79406323f02ba3a385cd2eb3c6b84260e Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Fri, 9 Jul 2021 09:38:40 +0800 Subject: [PATCH] fix error --- src/mainwindow.cpp | 2 +- src/oneconnform.cpp | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d8747819..6b8de480 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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) { - is_stop_:check_net_state = 1; + is_stop_check_net_state = 1; if (is_btnWifiList_clicked == 1) { BackThread *loop_bt = new BackThread(); IFace *loop_iface = loop_bt->execGetIface(); diff --git a/src/oneconnform.cpp b/src/oneconnform.cpp index 7061fe32..e22cdb3c 100644 --- a/src/oneconnform.cpp +++ b/src/oneconnform.cpp @@ -840,11 +840,11 @@ void OneConnForm::on_btnConnPWD_clicked() mw->m_wifi_list_pwd_changed.removeOne(wifiName); } - - if (!uuid.isEmpty()) - { - bIsNotSaved = true; - } +//TODO:connect not saved wireless +// if (!uuid.isEmpty()) +// { +// bIsNotSaved = true; +// } emit activateWirelessConnectionWithPWD(wifiName,ui->lePassword->text(),bIsNotSaved,uuid); } @@ -1041,7 +1041,6 @@ void OneConnForm::slotConnWifiResult(int connFlag) if(connFlag == 1) { - qDebug() << "11111111111111111111111"; if (hasPwd) { if (mw) mw->m_wifi_list_pwd_changed.append(wifiName);