Skip to content

Use QWindowSystemInterface::handleThemeChange

Ilya Fedin requested to merge ilya-fedin/qt6ct:handle-theme-change into master

This replaces explicit calls of various setters with a single QWindowSystemInterface::handleThemeChange call that properly asks Qt to re-request the settings from plugin without overriding settings set by application.

This also removes default QFont constructor calls as it calls QGuiApplication::font under the hood what makes it initialize with the wrong font as Qt6CTPlatformTheme is not finished yet

Merge request reports

Loading