From abdad66bae077da6c3480db457beb47df5eda813 Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周六, 16 12月 2023 19:27:16 +0800 Subject: [PATCH] Fix mac window mistakes --- src/quick/quickwindowagent_p.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/quick/quickwindowagent_p.h b/src/quick/quickwindowagent_p.h index d457690..1aecc10 100644 --- a/src/quick/quickwindowagent_p.h +++ b/src/quick/quickwindowagent_p.h @@ -6,8 +6,6 @@ namespace QWK { - class BorderItem; - class QuickWindowAgentPrivate : public WindowAgentBasePrivate { Q_DECLARE_PUBLIC(QuickWindowAgent) public: @@ -19,7 +17,9 @@ // Host QQuickWindow *hostWindow{}; - std::unique_ptr<BorderItem> borderItem; +#ifdef Q_OS_WINDOWS + void setupWindows10BorderWorkaround(); +#endif }; } -- Gitblit v1.9.1