fix global wallpaper error

This commit is contained in:
like 2024-05-24 15:00:06 +08:00
parent 2ddcf0ef68
commit 19e0a37c82
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ void GlobalThemeWidget::initWallPaperWidget()
QHBoxLayout *coverlayout = new QHBoxLayout(cover); QHBoxLayout *coverlayout = new QHBoxLayout(cover);
wallpaperbtn = new EditButton(cover,"wallpaper"); wallpaperbtn = new EditButton(cover,"wallpaper");
QLabel *tip = new QLabel(cover); QLabel *tip = new QLabel(cover);
tip->setText("<html>*尺寸为 3840 X 2160 的 PNG 图片,<br>*大小不超过 10 MB</html>"); tip->setText("<html>*尺寸为 3840 X 2160 的 JPG 图片,<br>*大小不超过 10 MB</html>");
QPalette palette = tip->palette(); QPalette palette = tip->palette();
palette.setColor(QPalette::WindowText, Qt::gray); palette.setColor(QPalette::WindowText, Qt::gray);
tip->setPalette(palette); tip->setPalette(palette);