When used in a KCM which uses QQuickWidget it needs to enable grab on the render window and not the embedded container.
- Group Reviewers
- R296:555a09198aef: [KeySequenceHelper] Grab actual window when embedded
- Put KeySequence thing in a KCM, I could now type a shortcut which was occupied by someone else
- Still works in system settings (renderWindowFor annoyingly returns nullptr instead of the same window if it isn't redirected so I had to check)
For simplicity I store the window in a QPointer to ungrab the same thing I grabbed before