I see, you are suggesting a method to configure the shortcut within the app itself. I think I found an example of this in kompare - https://github.com/annulen/kompare/blob/master/kompare_shell.cpp#L438 - that seems to be the way to make this happen.
- Queries
- All Stories
- Search
- Advanced Search
Feed Advanced Search
Advanced Search
Advanced Search
Aug 12 2019
Aug 12 2019
Aug 9 2019
Aug 9 2019
Instead of pre-assigning a global shortcut, this makes it just show up in the global shortcuts entry and lets the user enable and customize the key combination. I verified that enabling the shortcut works as expected.
That sounds reasonable. It should just be a matter of calling setDefaultShortcut instead, I think. Let me play around with it and update the diff.
Aug 7 2019
Aug 7 2019
sankethi added reviewers for D23016: Adding a global shortcut for suspending/resume rsibreak: aacid, anazarov.