Attempt to fix dark theme on macOS
This commit is contained in:
parent
a2867e151d
commit
7085106b45
1 changed files with 4 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue