From a0ec8b3d3e212096063e82e01add32af6ca42ee9 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Fri, 10 Feb 2023 13:18:18 +0300 Subject: [PATCH] UI: WindowManager: Use colorSchemeChanged --- src/ui/manager/windowmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/manager/windowmanager.cpp b/src/ui/manager/windowmanager.cpp index a617a084..ba47854e 100644 --- a/src/ui/manager/windowmanager.cpp +++ b/src/ui/manager/windowmanager.cpp @@ -52,7 +52,7 @@ void WindowManager::setUp() setupMainWindow(); #if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) - connect(QApplication::styleHints(), &QStyleHints::appearanceChanged, this, + connect(QApplication::styleHints(), &QStyleHints::colorSchemeChanged, this, &WindowManager::setupAppPalette); #endif