From f14f27f41385fd8593457413de2cf5a9c5c357e9 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 13 12月 2023 18:34:14 +0800
Subject: [PATCH] Change to Apache 2.0 License

---
 src/widgets/widgetwindowagent_p.h |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/widgets/widgetwindowagent_p.h b/src/widgets/widgetwindowagent_p.h
index eb1d96d..5b60770 100644
--- a/src/widgets/widgetwindowagent_p.h
+++ b/src/widgets/widgetwindowagent_p.h
@@ -1,15 +1,13 @@
 #ifndef WIDGETWINDOWAGENTPRIVATE_H
 #define WIDGETWINDOWAGENTPRIVATE_H
 
-#include <QWKCore/private/corewindowagent_p.h>
+#include <QWKCore/private/windowagentbase_p.h>
 #include <QWKWidgets/widgetwindowagent.h>
 
 namespace QWK {
 
-    class WidgetWindowAgentPrivate : public CoreWindowAgentPrivate {
-        Q_DISABLE_COPY(WidgetWindowAgentPrivate)
+    class WidgetWindowAgentPrivate : public WindowAgentBasePrivate {
         Q_DECLARE_PUBLIC(WidgetWindowAgent)
-
     public:
         WidgetWindowAgentPrivate();
         ~WidgetWindowAgentPrivate();
@@ -17,7 +15,11 @@
         void init();
 
         // Host
-        QWidget *host{};
+        QWidget *hostWidget{};
+
+#ifdef Q_OS_WINDOWS
+        void setupWindows10BorderWorkaround();
+#endif
     };
 
 }

--
Gitblit v1.9.1