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 |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/quick/quickwindowagent_p.h b/src/quick/quickwindowagent_p.h
index e63fbfe..c9d5680 100644
--- a/src/quick/quickwindowagent_p.h
+++ b/src/quick/quickwindowagent_p.h
@@ -27,6 +27,11 @@
         // Host
         QQuickWindow *hostWindow{};
 
+#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
@@ -34,4 +39,4 @@
 
 }
 
-#endif // QUICKWINDOWAGENTPRIVATE_H
\ No newline at end of file
+#endif // QUICKWINDOWAGENTPRIVATE_H

--
Gitblit v1.9.1