background role is now window

This commit is contained in:
Luis Ángel San Martín 2021-10-07 22:22:26 +02:00
parent 34aabb0685
commit 0bf7977145

View File

@ -166,7 +166,7 @@ ComicFlowWidgetGL::ComicFlowWidgetGL(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);
}