From 7085106b45573fe458a34293c5c5038aec29b8fe Mon Sep 17 00:00:00 2001 From: RedBlackAka Date: Mon, 23 Dec 2024 07:36:17 +0000 Subject: [PATCH] Attempt to fix dark theme on macOS --- qt/OpenRGBThemeManager.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/qt/OpenRGBThemeManager.cpp b/qt/OpenRGBThemeManager.cpp index 4f3c992a..b18c3b6d 100644 --- a/qt/OpenRGBThemeManager.cpp +++ b/qt/OpenRGBThemeManager.cpp @@ -31,16 +31,14 @@ void OpenRGBThemeManager::Init() | default theme does not handle vertical tabs well | \*-------------------------------------------------*/ QApplication::setStyle(QStyleFactory::create("Fusion")); -#else - /*---------------------------------------------------*\ - | Apply dark theme on Windows and Linux if configured | - \*---------------------------------------------------*/ +#endif + /*-------------------------------------------------*\ + | Apply dark theme if configured | + \*-------------------------------------------------*/ if(IsDarkTheme()) { SetDarkTheme(); } -#endif - } void OpenRGBThemeManager::SetDarkTheme()