From 4f9f75cb4b70f3b76cee57d0f98b59f8475bba3b Mon Sep 17 00:00:00 2001
From: SineStriker <trueful@163.com>
Date: 周三, 27 12月 2023 05:56:28 +0800
Subject: [PATCH] Add mac theme notifications

---
 src/core/contexts/qtwindowcontext_p.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h
index 6905d67..fa9aece 100644
--- a/src/core/contexts/qtwindowcontext_p.h
+++ b/src/core/contexts/qtwindowcontext_p.h
@@ -24,10 +24,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