Use KActionCollection::setDefaultShortcut
ClosedPublic

Authored by heikobecker on Aug 27 2017, 12:45 PM.

Details

Summary

...instead of QAction::setShortcut, which removes a run-time warning.

Test Plan

Builds, warning disappears and shortcut still works

Diff Detail

Repository
R341 Step
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
heikobecker created this revision.Aug 27 2017, 12:45 PM
cfeck accepted this revision.Aug 27 2017, 2:19 PM
This revision is now accepted and ready to land.Aug 27 2017, 2:19 PM
This revision was automatically updated to reflect the committed changes.