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/corewindowagent_p.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/corewindowagent_p.h b/src/core/corewindowagent_p.h index 013ccbe..faa61f8 100644 --- a/src/core/corewindowagent_p.h +++ b/src/core/corewindowagent_p.h @@ -16,9 +16,9 @@ CoreWindowAgent *q_ptr; // no need to initialize - bool setup(QWindow *window, WindowItemDelegate *delegate); + bool setup(QObject *host, WindowItemDelegate *delegate); - std::unique_ptr<AbstractWindowContext> eventHandler; + std::unique_ptr<AbstractWindowContext> context; Q_DISABLE_COPY_MOVE(CoreWindowAgentPrivate) }; -- Gitblit v1.9.1