Attempt to fix dark theme on macOS

This commit is contained in:
RedBlackAka 2024-12-23 07:36:17 +00:00 committed by Adam Honse
parent a2867e151d
commit 7085106b45

View file

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