mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Replace deprecated QPalette role
This commit is contained in:
@ -90,7 +90,7 @@ BookmarksDialog::BookmarksDialog(QWidget *parent)
|
||||
|
||||
QPalette Pal(palette());
|
||||
// set black background
|
||||
Pal.setColor(QPalette::Background, QColor(0x454545));
|
||||
Pal.setColor(QPalette::Window, QColor(0x454545));
|
||||
this->setAutoFillBackground(true);
|
||||
this->setPalette(Pal);
|
||||
|
||||
|
Reference in New Issue
Block a user