From c2e349f1c38b55fd12f8ae537e754fa6658ab631 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周一, 01 1月 2024 20:21:34 +0800 Subject: [PATCH] Tested 5.12.8 --- src/core/contexts/qtwindowcontext_p.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h index 6905d67..829fe84 100644 --- a/src/core/contexts/qtwindowcontext_p.h +++ b/src/core/contexts/qtwindowcontext_p.h @@ -1,3 +1,6 @@ +// Copyright (C) 2023-2024 Stdware Collections +// SPDX-License-Identifier: Apache-2.0 + #ifndef QTWINDOWCONTEXT_P_H #define QTWINDOWCONTEXT_P_H @@ -24,10 +27,10 @@ void virtual_hook(int id, void *data) override; protected: - void winIdChanged(QWindow *oldWindow) override; + void winIdChanged() override; protected: - std::unique_ptr<QObject> qtWindowEventFilter; + std::unique_ptr<SharedEventFilter> qtWindowEventFilter; }; } -- Gitblit v1.9.1