mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:15:39 +00:00
UI: WindowManager: Use colorSchemeChanged
This commit is contained in:
parent
5e86082230
commit
a0ec8b3d3e
@ -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