[Kde-games-devel] Review Request 121117: Don't set a QAction's shortcut directly but through KActionCollection instead.

Roney Gomes roney477 at gmail.com
Tue Nov 18 14:13:09 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121117/
-----------------------------------------------------------

(Updated Nov. 18, 2014, 2:13 p.m.)


Review request for KDE Games.


Changes
-------

Following Albert's instructions by simply replicating the code in kstandardaction.cpp.


Repository: libkdegames


Description
-------

I was working on KBounce when I got these alarming messages saying that one should no longer set an action's shortcut directly but to use KActionCollection::setDefaultShortcut(s) instead.

Usually I don't like to send such a small diff to be reviewed, but as that's the first time I touch libkdegames' code I decided to be careful.


Diffs (updated)
-----

  kstandardgameaction.cpp 73d5ac0 

Diff: https://git.reviewboard.kde.org/r/121117/diff/


Testing
-------

Started the game again to check whether the warnings had desappeared.


Thanks,

Roney Gomes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20141118/4a6eb6eb/attachment.html>


More information about the kde-games-devel mailing list