From a26f643ba37c8e55688de74d55b846000c0d358a Mon Sep 17 00:00:00 2001 From: jeffrey0326 <547913081@qq.com> Date: Sat, 24 Aug 2024 19:27:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=80=82=E5=BA=94=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=A0=87=E9=A2=98=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FluFrameless.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FluFrameless.cpp b/src/FluFrameless.cpp index 2bf490f6..5b66dc21 100644 --- a/src/FluFrameless.cpp +++ b/src/FluFrameless.cpp @@ -295,8 +295,8 @@ FluFrameless::~FluFrameless() = default; } void FluFrameless::componentComplete() { - HWND hwnd = reinterpret_cast(window()->winId()); #ifdef Q_OS_WIN + HWND hwnd = reinterpret_cast(window()->winId()); if (isWin11OrGreater()) { availableEffects({"mica", "mica-alt", "acrylic", "dwm-blur", "normal"}); } else if (isWin7Only()) {