mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:45:22 +00:00
Revert "UI: WindowManager: Use colorSchemeChanged"
The "colorScheme" is not functional yet.
This reverts commit a0ec8b3d3e
.
This commit is contained in:
parent
804becbd83
commit
0a2c48b7ef
@ -52,7 +52,7 @@ void WindowManager::setUp()
|
|||||||
setupMainWindow();
|
setupMainWindow();
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||||
connect(QApplication::styleHints(), &QStyleHints::colorSchemeChanged, this,
|
connect(QApplication::styleHints(), &QStyleHints::appearanceChanged, this,
|
||||||
&WindowManager::setupAppPalette);
|
&WindowManager::setupAppPalette);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user