From 0339e9e5e19fd4fe65113e1a819826109b7e4727 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 28 12æ 2023 23:13:33 +0800 Subject: [PATCH] minor tweaks --- 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