Swapped out deprecated QPalette::Background symbol for QPalette::Window.
This commit is contained in:
parent
2f097ff4b3
commit
d52c4c24b6
|
@ -37,7 +37,7 @@ ConsoleViewSDL_t::ConsoleViewSDL_t(QWidget *parent)
|
||||||
{
|
{
|
||||||
QPalette pal = palette();
|
QPalette pal = palette();
|
||||||
|
|
||||||
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