From 6eb2efea00eb07ce3a6b089b984885ce4a08c9ca Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周五, 29 12月 2023 20:55:09 +0800
Subject: [PATCH] Add WinRegKey support

---
 src/quick/quickwindowagent_p.h |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/quick/quickwindowagent_p.h b/src/quick/quickwindowagent_p.h
index 8919bdb..c9d5680 100644
--- a/src/quick/quickwindowagent_p.h
+++ b/src/quick/quickwindowagent_p.h
@@ -27,11 +27,16 @@
         // Host
         QQuickWindow *hostWindow{};
 
-#if defined(Q_OS_WINDOWS) && QWINDOWKIT_CONFIG(ENABLE_WINDOWS_SYSTEM_BORDER)
+#ifdef Q_OS_MAC
+        QQuickItem *systemButtonAreaItem{};
+        std::unique_ptr<QObject> systemButtonAreaItemHandler;
+#endif
+
+#if defined(Q_OS_WINDOWS) && QWINDOWKIT_CONFIG(ENABLE_WINDOWS_SYSTEM_BORDERS)
         void setupWindows10BorderWorkaround();
 #endif
     };
 
 }
 
-#endif // QUICKWINDOWAGENTPRIVATE_H
\ No newline at end of file
+#endif // QUICKWINDOWAGENTPRIVATE_H

--
Gitblit v1.9.1