From a0bede6ff6a700a6eea9702c49d378f07de22f63 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 06 12月 2023 12:11:37 +0800 Subject: [PATCH] Fix title bar hover bug --- 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