From 3bde231e6d0b1c177c8c1fc4eccb6207d40aeec1 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 25 12月 2023 00:59:34 +0800
Subject: [PATCH] Test on MinGW

---
 src/core/style/styleagent_win.cpp |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/core/style/styleagent_win.cpp b/src/core/style/styleagent_win.cpp
index bee647a..c4e4e96 100644
--- a/src/core/style/styleagent_win.cpp
+++ b/src/core/style/styleagent_win.cpp
@@ -55,10 +55,7 @@
                     }
                 }();
                 for (auto &&ap : std::as_const(*g_styleAgentSet())) {
-                    if (ap->systemTheme != theme) {
-                        ap->systemTheme = theme;
-                        ap->notifyThemeChanged(theme);
-                    }
+                    ap->notifyThemeChanged(theme);
                 }
             }
 

--
Gitblit v1.9.1