mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
调整适应系统标题栏
This commit is contained in:
parent
4b49fb1340
commit
a26f643ba3
@ -295,8 +295,8 @@ FluFrameless::~FluFrameless() = default;
|
||||
}
|
||||
|
||||
void FluFrameless::componentComplete() {
|
||||
HWND hwnd = reinterpret_cast<HWND>(window()->winId());
|
||||
#ifdef Q_OS_WIN
|
||||
HWND hwnd = reinterpret_cast<HWND>(window()->winId());
|
||||
if (isWin11OrGreater()) {
|
||||
availableEffects({"mica", "mica-alt", "acrylic", "dwm-blur", "normal"});
|
||||
} else if (isWin7Only()) {
|
||||
|
Loading…
Reference in New Issue
Block a user