From 3cfe15a9c3db0993d8b8fef5d148625840e5a75c Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 05 12月 2023 15:43:39 +0800 Subject: [PATCH] Add host interface --- 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..9a78813 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(QObject *host, WindowItemDelegate *delegate); ~QtWindowContext(); public: -- Gitblit v1.9.1