[Kde-games-devel] Review Request 113528: Improve "end turn" action handling.
Alexander Schuch
aschuch247 at gmail.com
Sun Nov 10 01:51:35 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113528/
-----------------------------------------------------------
(Updated Nov. 10, 2013, 1:51 a.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Games.
Repository: konquest
Description
-------
The recently added KStandardGameAction::endTurn() action now has an own
default shortcut of Ctrl+E. The button is added to the toolbar by default.
Furthermore, the "end turn" button now is enabled/disabled depending on the
game state. It no longer is possible to end the turn while in the middle of
a send fleet command sequence.
Use the very same condition for enabling/disabling the custom "end turn"
button and the "end turn" action. This required some code cleanup.
The custom palette for the game board now colours disabled elements darker
so that they actually look disabled.
Diffs
-----
gameview.cc a01bfde
konquestui.rc cd43d33
mainwin.h d72fd46
mainwin.cc 929c61d
Diff: http://git.reviewboard.kde.org/r/113528/diff/
Testing
-------
Thanks,
Alexander Schuch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20131110/37d94858/attachment.html>
More information about the kde-games-devel
mailing list