Skip to content

Guard against Keystate outliving QGuiApplication

David Edmundson requested to merge work/d_ed/lockscreen_crash into master

If KeyState outlives QGuiApplication, for example if stored the singleton is used in a static, we can't make wayland calls. Proxies can't be used after the display is closed.

In these cases we should no-op.

This fixes a lock screen crash

Merge request reports