Swapped out deprecated QPalette::Background symbol for QPalette::Window.

This commit is contained in:
mjbudd77 2021-03-19 21:53:10 -04:00
parent 2f097ff4b3
commit d52c4c24b6
1 changed files with 1 additions and 1 deletions

View File

@ -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);