mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-01 15:42:20 +08:00
Merge pull request #113 from mentalfl0w/dev
Fix the _systemDark don't get system color while app first boot.
This commit is contained in:
Submodule framelesshelper updated: 675a1f7d6e...4c5ca2e12c
@ -1,4 +1,4 @@
|
||||
#include "FluTheme.h"
|
||||
#include "FluTheme.h"
|
||||
|
||||
#include "Def.h"
|
||||
#include "FluColors.h"
|
||||
@ -26,6 +26,7 @@ FluTheme::FluTheme(QObject *parent)
|
||||
primaryColor(FluColors::getInstance()->Blue());
|
||||
nativeText(false);
|
||||
darkMode(Fluent_DarkMode::Fluent_DarkModeType::Light);
|
||||
_systemDark = systemDark();
|
||||
qApp->installEventFilter(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user