mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-12-04 00:22:02 +08:00
Fix the _systemDark don't get system color while app first boot.
This commit is contained in:
parent
8b531e4637
commit
323927c3ae
@ -1 +1 @@
|
||||
Subproject commit 675a1f7d6e07074b0d07ab07d48d806eacc93a83
|
||||
Subproject commit 4c5ca2e12c3de1ffe15b795bdafd5caf3656ab84
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user