From 2f57263c413021716397841ca9d0bfc9628c8703 Mon Sep 17 00:00:00 2001
From: SineStriker <trueful@163.com>
Date: 周三, 06 12月 2023 18:28:52 +0800
Subject: [PATCH] Revert "update pointer usage"

---
 src/core/corewindowagent_p.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/core/corewindowagent_p.h b/src/core/corewindowagent_p.h
index 6b1912d..faa61f8 100644
--- a/src/core/corewindowagent_p.h
+++ b/src/core/corewindowagent_p.h
@@ -16,11 +16,10 @@
 
         CoreWindowAgent *q_ptr; // no need to initialize
 
-        bool setup(const QObject *host, const WindowItemDelegate *delegate);
+        bool setup(QObject *host, WindowItemDelegate *delegate);
 
-        AbstractWindowContext *context;
+        std::unique_ptr<AbstractWindowContext> context;
 
-    private:
         Q_DISABLE_COPY_MOVE(CoreWindowAgentPrivate)
     };
 

--
Gitblit v1.9.1