Skip to content

Avoid calling QWindowSystemInterface when loading platform theme

Vlad Zahorodnii requested to merge work/zzag/qwsi-sync-handle-theme-changed into master

When the system events are delivered synchronously, the platform theme should avoid calling QWindowSystemInterface::handleThemeChange() while it loads. The reason for that is that the QGuiApplication will react to the theme change event, but since the platform theme is not fully initialized yet, the gui app will crash.

Merge request reports

Loading