From 7a54badb4a5782c551deb2919f3c489fdb4fbc02 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 03 12月 2023 17:17:40 +0800
Subject: [PATCH] Add snap layout handling

---
 src/core/contexts/qtwindowcontext_p.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h
index da3d640..6daccb8 100644
--- a/src/core/contexts/qtwindowcontext_p.h
+++ b/src/core/contexts/qtwindowcontext_p.h
@@ -7,10 +7,8 @@
 
     class QWK_CORE_EXPORT QtWindowContext : public AbstractWindowContext {
         Q_OBJECT
-        Q_DISABLE_COPY(QtWindowContext)
-
     public:
-        QtWindowContext(QWindow *window, WindowItemDelegatePtr delegate);
+        QtWindowContext(QWindow *window, WindowItemDelegate *delegate);
         ~QtWindowContext();
 
     public:

--
Gitblit v1.9.1