调整适应系统标题栏

This commit is contained in:
jeffrey0326 2024-08-24 19:27:54 +08:00
parent 4b49fb1340
commit a26f643ba3

View File

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