Right now it's in an event filter but the event is only emitted on QGuiApplication which isn't watched.