From 2f59395b8183b1de62bd0ba83685298d9a7e3271 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 摹曛, 21 12月 2023 19:56:42 +0800
Subject: [PATCH] minor tweaks

---
 src/stylesupport/styleagent_p.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/stylesupport/styleagent_p.h b/src/stylesupport/styleagent_p.h
index b07bc4e..b59266d 100644
--- a/src/stylesupport/styleagent_p.h
+++ b/src/stylesupport/styleagent_p.h
@@ -15,12 +15,16 @@
 
         StyleAgent *q_ptr;
 
+        StyleAgent::SystemTheme systemTheme = StyleAgent::Dark;
         QHash<QWindow *, QVariantHash> windowAttributes;
 
         virtual void setupSystemThemeHook();
+        virtual void removeSystemThemeHook();
         virtual bool updateWindowAttribute(QWindow *window, const QString &key,
                                            const QVariant &attribute, const QVariant &oldAttribute);
 
+        void notifyThemeChanged(StyleAgent::SystemTheme theme);
+
     private:
         void _q_windowDestroyed();
     };

--
Gitblit v1.9.1