background role is now window

This commit is contained in:
Luis Ángel San Martín
2021-10-07 22:21:43 +02:00
parent 2e24c1f36f
commit ec4deaf594
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ ComicFlowWidgetSW::ComicFlowWidgetSW(QWidget *parent)
// TODO eleminar "padding"
QPalette Pal(palette());
// set black background
Pal.setColor(QPalette::Background, Qt::black);
Pal.setColor(QPalette::Window, Qt::black);
setAutoFillBackground(true);
setPalette(Pal);