From 718590bf4dec0e8d9e7a75af98568f5eff5f8f9d Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 19 12月 2023 14:45:36 +0800 Subject: [PATCH] Remove stylesupport --- src/core/contexts/cocoawindowcontext_p.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/contexts/cocoawindowcontext_p.h b/src/core/contexts/cocoawindowcontext_p.h index 3fc66c1..c6c8e13 100644 --- a/src/core/contexts/cocoawindowcontext_p.h +++ b/src/core/contexts/cocoawindowcontext_p.h @@ -1,7 +1,6 @@ #ifndef COCOAWINDOWCONTEXT_P_H #define COCOAWINDOWCONTEXT_P_H - #include <QWKCore/private/abstractwindowcontext_p.h> namespace QWK { @@ -16,10 +15,12 @@ void virtual_hook(int id, void *data) override; protected: - bool setupHost() override; + void winIdChanged(QWindow *oldWindow) override; protected: WId windowId = 0; + + std::unique_ptr<QObject> cocoaWindowEventFilter; }; } -- Gitblit v1.9.1