From 1a1f26d9e4ab6a4fe51baa78e40c4cdf3f402bcf Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 摹曛, 07 12月 2023 14:27:00 +0800
Subject: [PATCH] Add context factory

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

diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h
index 9a78813..242dcd2 100644
--- a/src/core/contexts/qtwindowcontext_p.h
+++ b/src/core/contexts/qtwindowcontext_p.h
@@ -8,11 +8,11 @@
     class QWK_CORE_EXPORT QtWindowContext : public AbstractWindowContext {
         Q_OBJECT
     public:
-        QtWindowContext(QObject *host, WindowItemDelegate *delegate);
+        QtWindowContext();
         ~QtWindowContext();
 
     public:
-        bool setup() override;
+        bool setup(QObject *host, WindowItemDelegate *delegate) override;
 
     protected:
         bool eventFilter(QObject *obj, QEvent *event) override;

--
Gitblit v1.9.1