From 499afac952920595e6c3d4f94806427f894c7674 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周六, 02 12月 2023 19:05:24 +0800 Subject: [PATCH] optimize code --- 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