From 075a1fd1d67c6e347ab40f460819067b947f92f6 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周三, 06 12月 2023 18:06:54 +0800
Subject: [PATCH] fix mem leak

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

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

--
Gitblit v1.9.1