mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:57:24 +00:00
Revert "Revert "UI: WindowManager: Use colorSchemeChanged""
This reverts commit 0a2c48b7ef
.
This commit is contained in:
parent
a79fc8493d
commit
ca4240dfb1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user