mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
background role is now window
This commit is contained in:
parent
34aabb0685
commit
0bf7977145
@ -166,7 +166,7 @@ ComicFlowWidgetGL::ComicFlowWidgetGL(QWidget *parent)
|
|||||||
// TODO eleminar "padding"
|
// TODO eleminar "padding"
|
||||||
QPalette Pal(palette());
|
QPalette Pal(palette());
|
||||||
// set black background
|
// set black background
|
||||||
Pal.setColor(QPalette::Background, Qt::black);
|
Pal.setColor(QPalette::Window, Qt::black);
|
||||||
setAutoFillBackground(true);
|
setAutoFillBackground(true);
|
||||||
setPalette(Pal);
|
setPalette(Pal);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user