From a4f0b478ea4065c6dabe2e49f7cf576ea54216c7 Mon Sep 17 00:00:00 2001 From: John Chadwick Date: Mon, 1 Sep 2025 03:34:43 -0400 Subject: [PATCH] hiro/qt: QPalette::Background -> QPalette::Window --- hiro/qt/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 hiro/qt/window.cpp diff --git a/hiro/qt/window.cpp b/hiro/qt/window.cpp old mode 100644 new mode 100755 index d9dd7b6b2..36e21535a --- a/hiro/qt/window.cpp +++ b/hiro/qt/window.cpp @@ -101,10 +101,10 @@ auto pWindow::remove(sStatusBar statusBar) -> void { } auto pWindow::setBackgroundColor(Color color) -> void { - static auto defaultColor = qtContainer->palette().color(QPalette::Background); + static auto defaultColor = qtContainer->palette().color(QPalette::Window); auto palette = qtContainer->palette(); - palette.setColor(QPalette::Background, CreateColor(color, defaultColor)); + palette.setColor(QPalette::Window, CreateColor(color, defaultColor)); qtContainer->setPalette(palette); qtContainer->setAutoFillBackground((bool)color); //translucency results are very unpleasant without a compositor; so disable for now