...instead of QAction::setShortcut, which removes some run-time warnings.
Details
Details
- Reviewers
chehrlic - Group Reviewers
KDE Games - Commits
- R423:842161dfac6d: Give QActions a parent
R423:dc5a427fe6af: Use KActionCollection::setDefaultShortcut
Build and checked that shortcuts still work
Diff Detail
Diff Detail
- Repository
- R423 Palapeli
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
While you're at it - can you please give all create QActions 'this' as parent? KActionCollection::addAction() does not take ownership of the QAction*
Comment Actions
Looks fine by me; I guess that if @chehrlic agrees that the issue that he raised is addressed, this can be approved.