fix global wallpaper error
This commit is contained in:
parent
2ddcf0ef68
commit
19e0a37c82
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue