Use KActionCollection::setDefaultShortcut for select_carddeck shortcut (F10)

Review Request #127856 - Created May 7, 2016 and submitted

Information
Martin Walch
lskat
frameworks
Reviewers
Kdegames
KXMLGuiFactory complains:

> Shortcut for action "select_carddeck" "Select &Card Deck..." set with
> QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.

Do so accordingly.

This also moves away from deprecated KShortcut.
Builds fine, does not show deprecation warning about KShortcut any more.

Shortcut F10 at runtime still working.
Albert Astals Cid
Martin Walch
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit d1168472173a55c62695962eb0d0024151c5facc by Martin Walch to branch frameworks.
Loading...