Fix:Lan is disconnected when start application.
This commit is contained in:
parent
5ed582bc87
commit
f74d78ac2b
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 初始化定时器
|
// 初始化定时器
|
||||||
|
|
Loading…
Reference in New Issue