UI: WindowManager: Use colorSchemeChanged

This commit is contained in:
Nodir Temirkhodjaev 2023-02-10 13:18:18 +03:00
parent 5e86082230
commit a0ec8b3d3e

View File

@ -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