Revert "UI: WindowManager: Use colorSchemeChanged"

The "colorScheme" is not functional yet.

This reverts commit a0ec8b3d3e.
This commit is contained in:
Nodir Temirkhodjaev 2023-02-13 10:39:59 +03:00
parent 804becbd83
commit 0a2c48b7ef

View File

@ -52,7 +52,7 @@ void WindowManager::setUp()
setupMainWindow();
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
connect(QApplication::styleHints(), &QStyleHints::colorSchemeChanged, this,
connect(QApplication::styleHints(), &QStyleHints::appearanceChanged, this,
&WindowManager::setupAppPalette);
#endif