remove frequency qlabel when switch off wifi

This commit is contained in:
crrs666 2021-03-27 11:11:28 +08:00
parent 2d62ca677b
commit 9d8ba48ab8
1 changed files with 2 additions and 0 deletions

View File

@ -1386,6 +1386,7 @@ void MainWindow::on_btnWifiList_clicked()
ccf->setAct(true);
ccf->move(L_VERTICAL_LINE_TO_ITEM, 0);
ccf->show();
ccf->lbFreq->hide();
this->lanListWidget->hide();
this->wifiListWidget->show();
@ -3055,6 +3056,7 @@ void MainWindow::disWifiDoneChangeUI()
ocf->setName(tr("Not connected"), "--", "--");//"当前未连接任何 Wifi"
ocf->setSignal("0", "--");
ocf->setConnedString(1, tr("Disconnected"), "");//"未连接"
ocf->lbFreq->hide();
lbLoadDown->hide();
lbLoadUp->hide();
lbLoadDownImg->hide();