mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-10-24 19:22:21 +08:00
修复深色模式下顶栏的按钮未更新的bug
This commit is contained in:
parent
050fe964dd
commit
c0e9815d9d
@ -33,8 +33,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
this->setStyleSheet("#mainpage{background-color: transparent;border-radius:14px;}\
|
||||
QLabel#cardtitle,QLabel#title,QLabel#title_1,QLabel#title_2,QLabel#title_3 {color:#FFFFFF}\
|
||||
");
|
||||
backButtom->setIcon(QIcon(":/icon/light/back.svg"));
|
||||
downloadButton->setIcon(QIcon(":/icon/light/download.svg"));
|
||||
backButtom->setIcon(QIcon(":/icon/dark/back.svg"));
|
||||
downloadButton->setIcon(QIcon(":/icon/dark/download.svg"));
|
||||
int i = 0;
|
||||
while (i < ui->buttonGroup->buttons().size()) {
|
||||
ui->buttonGroup->buttons()[i]->setIcon(QIcon(":/icon/dark/leftbutton_" + QString::number(i) + ".svg"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user