When used in a KCM which uses QQuickWidget it needs to enable grab on the render window and not the embedded container.
Details
Details
- Reviewers
davidre - Group Reviewers
Plasma - Commits
- 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
Diff Detail
Diff Detail
- Repository
- R296 KDeclarative
- Lint
Lint Skipped - Unit
Unit Tests Skipped