solve the problem switch of wifi can not show normal sometime

This commit is contained in:
chenlelin 2020-03-02 14:05:26 +08:00
parent 7f70bff395
commit 4871e1e43a
8 changed files with 569 additions and 564 deletions

View File

@ -1 +1 @@
1e33eb14ad8033cf888841efe6e3c2ca2cce8947
1e622cec1ec1692a16f4690843cd87e91a8fa8fe

View File

@ -5,9 +5,9 @@ Version: 1.2.0-1
Auto-Built-Package: debug-symbols
Architecture: amd64
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Installed-Size: 2527
Installed-Size: 2536
Depends: kylin-nm (= 1.2.0-1)
Section: debug
Priority: optional
Description: debug symbols for kylin-nm
Build-Ids: 1e33eb14ad8033cf888841efe6e3c2ca2cce8947
Build-Ids: 1e622cec1ec1692a16f4690843cd87e91a8fa8fe

View File

@ -1 +1 @@
11bb742b1fcd63aa4a8a88fc0ff5226c usr/lib/debug/.build-id/1e/33eb14ad8033cf888841efe6e3c2ca2cce8947.debug
de19370323a6a918a5586ae80ff7f7fa usr/lib/debug/.build-id/1e/622cec1ec1692a16f4690843cd87e91a8fa8fe.debug

View File

@ -188,6 +188,7 @@ MainWindow::MainWindow(QWidget *parent) :
ui->lbBtnNetBG->hide();
ui->btnWifi->setFocusPolicy(Qt::NoFocus);
ui->btnWifi->setStyleSheet("QPushButton{border:none;background:transparent;}");
ui->lbBtnWifiBall->setStyleSheet("QLabel{min-width: 16px; min-height: 16px;max-width:16px; max-height: 16px;"
"border-radius: 8px; border:1px solid white;background:white;}");
@ -1356,7 +1357,7 @@ void MainWindow::onBtnNetListClicked(int flag)
ui->lbNetListBG->setStyleSheet(btnOnQss);
ui->lbWifiListBG->setStyleSheet(btnOffQss);
ui->lbNetwork->setText("有线网络");
ui->lbNetwork->setText(tr("Ethernet"));
ui->btnWifi->hide();
ui->lbBtnWifiBG->hide();
ui->lbBtnWifiBall->hide();
@ -1442,7 +1443,7 @@ void MainWindow::on_btnWifiList_clicked()
ui->lbNetListBG->setStyleSheet(btnOffQss);
ui->lbWifiListBG->setStyleSheet(btnOnQss);
ui->lbNetwork->setText("无线网络");
ui->lbNetwork->setText(tr("Wifi"));
ui->btnWifi->show();
ui->lbBtnWifiBG->show();
ui->lbBtnWifiBall->show();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff