From 2bd0a831e7fdfd1b1ba91866a3df17385bed6df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Mon, 18 Dec 2023 21:32:56 +0800 Subject: [PATCH] update --- src/FluFrameless.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/FluFrameless.cpp b/src/FluFrameless.cpp index 8cb9d081..052a01c4 100644 --- a/src/FluFrameless.cpp +++ b/src/FluFrameless.cpp @@ -10,8 +10,6 @@ static inline QByteArray qtNativeEventType() static const auto result = "windows_generic_MSG"; return result; } -#endif - static inline bool isCompositionEnabled(){ typedef HRESULT (WINAPI* DwmIsCompositionEnabledPtr)(BOOL *pfEnabled); HMODULE module = LoadLibraryW(L"dwmapi.dll"); @@ -28,6 +26,7 @@ static inline bool isCompositionEnabled(){ } return false; } +#endif FramelessEventFilter::FramelessEventFilter(QQuickWindow* window){ _window = window;