Fix:Lan is disconnected when start application.

This commit is contained in:
zhangjiaping 2021-01-21 19:49:09 +08:00
parent 5ed582bc87
commit f74d78ac2b
1 changed files with 1 additions and 2 deletions

View File

@ -437,8 +437,6 @@ void MainWindow::getInitLanSlist()
// 初始化网络 // 初始化网络
void MainWindow::initNetwork() void MainWindow::initNetwork()
{ {
ksnm->execGetConnList();
BackThread *bt = new BackThread(); BackThread *bt = new BackThread();
IFace *iface = bt->execGetIface(); IFace *iface = bt->execGetIface();
@ -515,6 +513,7 @@ void MainWindow::initNetwork()
ui->btnWifiList->setStyleSheet("QPushButton{border:none;}"); ui->btnWifiList->setStyleSheet("QPushButton{border:none;}");
} }
} }
ksnm->execGetConnList();
} }
// 初始化定时器 // 初始化定时器