Revert "Revert "UI: WindowManager: Use colorSchemeChanged""

This reverts commit 0a2c48b7ef.
This commit is contained in:
Nodir Temirkhodjaev 2023-02-13 19:59:46 +03:00
parent a79fc8493d
commit ca4240dfb1

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