From 7d747f3bb139d2c01aee61b809d0929e8e908a2d Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周六, 23 12月 2023 17:41:00 +0800
Subject: [PATCH] update qmsetup

---
 src/quick/quickwindowagent_p.h |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/quick/quickwindowagent_p.h b/src/quick/quickwindowagent_p.h
index d457690..15d8b58 100644
--- a/src/quick/quickwindowagent_p.h
+++ b/src/quick/quickwindowagent_p.h
@@ -1,12 +1,19 @@
 #ifndef QUICKWINDOWAGENTPRIVATE_H
 #define QUICKWINDOWAGENTPRIVATE_H
 
+//
+//  W A R N I N G !!!
+//  -----------------
+//
+// This file is not part of the QWindowKit API. It is used purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or may even be removed.
+//
+
 #include <QWKCore/private/windowagentbase_p.h>
 #include <QWKQuick/quickwindowagent.h>
 
 namespace QWK {
-
-    class BorderItem;
 
     class QuickWindowAgentPrivate : public WindowAgentBasePrivate {
         Q_DECLARE_PUBLIC(QuickWindowAgent)
@@ -19,7 +26,9 @@
         // Host
         QQuickWindow *hostWindow{};
 
-        std::unique_ptr<BorderItem> borderItem;
+#ifdef Q_OS_WINDOWS
+        void setupWindows10BorderWorkaround();
+#endif
     };
 
 }

--
Gitblit v1.9.1