From 84ef238611127b9d964ecb54bea283e0141d2998 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 13 12月 2023 14:16:42 +0800
Subject: [PATCH] Add qt context option

---
 src/widgets/widgetwindowagent_p.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/widgets/widgetwindowagent_p.h b/src/widgets/widgetwindowagent_p.h
index 758250e..5b60770 100644
--- a/src/widgets/widgetwindowagent_p.h
+++ b/src/widgets/widgetwindowagent_p.h
@@ -17,7 +17,9 @@
         // Host
         QWidget *hostWidget{};
 
-        std::unique_ptr<QObject> paintFilter;
+#ifdef Q_OS_WINDOWS
+        void setupWindows10BorderWorkaround();
+#endif
     };
 
 }

--
Gitblit v1.9.1