From 987e1b544ad33dfc0a9253fbf1a810e2ca7353d7 Mon Sep 17 00:00:00 2001 From: Tyler Dunn Date: Mon, 5 Sep 2022 21:44:18 -0400 Subject: [PATCH] Don't autofill background color on macOS PR #17669. --- src/gui/properties/propertieswidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/properties/propertieswidget.cpp b/src/gui/properties/propertieswidget.cpp index 26bc5da9d..8c63d048f 100644 --- a/src/gui/properties/propertieswidget.cpp +++ b/src/gui/properties/propertieswidget.cpp @@ -76,7 +76,9 @@ PropertiesWidget::PropertiesWidget(QWidget *parent) , m_ui(new Ui::PropertiesWidget()) { m_ui->setupUi(this); +#ifndef Q_OS_MACOS setAutoFillBackground(true); +#endif m_state = VISIBLE;