fix error
This commit is contained in:
parent
3d82cfb811
commit
167375b794
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue