50457 统一名称为wifi

This commit is contained in:
lvhan 2021-04-23 16:38:16 +08:00
parent 2ada3da5f8
commit a90380623c
1 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ void MainWindow::createLeftAreaUI()
ui->btnNetListImg->setProperty("iconHighlightEffectMode", true); ui->btnNetListImg->setProperty("iconHighlightEffectMode", true);
ui->btnWifiList->setFocusPolicy(Qt::NoFocus); ui->btnWifiList->setFocusPolicy(Qt::NoFocus);
QString txtWifi(tr("Wifi")); QString txtWifi("Wifi");
ui->btnWifiList->setToolTip(txtWifi); ui->btnWifiList->setToolTip(txtWifi);
ui->lbWifiListBG->setStyleSheet(btnOffQss); ui->lbWifiListBG->setStyleSheet(btnOffQss);
//设置PushButton背景透明 //设置PushButton背景透明
@ -1333,7 +1333,7 @@ void MainWindow::on_btnWifiList_clicked()
lbNoItemTip->hide(); lbNoItemTip->hide();
ui->lbNetwork->setText(tr("Wifi")); ui->lbNetwork->setText("Wifi");
btnWireless->show(); btnWireless->show();
if (iface->wstate == 0 || iface->wstate == 1) { if (iface->wstate == 0 || iface->wstate == 1) {