[Kde-games-devel] Review Request 5682: fix 215352 bug
Christian Krippendorf
Coding at christian-krippendorf.de
Wed Jan 23 22:54:57 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5682/#review11030
-----------------------------------------------------------
Obsolete...already fixed by me. See the bug report mentioned above for more details.
- Christian Krippendorf
On Oct. 28, 2010, 4:12 p.m., Antonis Tsiapaliokas wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/5682/
> -----------------------------------------------------------
>
> (Updated Oct. 28, 2010, 4:12 p.m.)
>
>
> Review request for KDE Games.
>
>
> Description
> -------
>
> Hello
>
> This is my first effort to help the kdegames,so i am sorry if i have done something wrong...This bug regards the kmahjongg game.This patch is fixing the bug 215352.All the information that you will need, are located into the bug report... With a few words, after someone wins, the undo button is still enable and full functional...
>
>
> This addresses bug 215352.
> https://bugs.kde.org/show_bug.cgi?id=215352
>
>
> Diffs
> -----
>
> trunk/KDE/kdegames/kmahjongg/kmahjongg.cpp 1190695
>
> Diff: http://svn.reviewboard.kde.org/r/5682/diff/
>
>
> Testing
> -------
>
> The kmahjongg game compiles and runs fine.But there is a problem,which it will sound to you very silly... I have create the patch but i cannot win the game so i cannot test my patch... But i have found another way to test my patch, and there works fine... If you look at the kmahjongg.cpp (it is located into the kdegames/kmahjongg) at the lines 174("undoAction = KStandardGameAction::undo(this, SLOT(undo()), actionCollection());") and 119-120 (connect( bw, SIGNAL( gameOver(unsigned short , unsigned short)), this,SLOT( gameOver(unsigned short , unsigned short)));) those two functions are connected with the bw object.So if i add the code from my patch into the KMahjongg::undo() method and after i make 10 moves into the game, i will be able to undo only the last one because when i hit the undo button then, the code from my patch is called and the undo button is becoming dissable (from enable). So instead of adding the code into the KMahjongg::undo(), if i add it, into the KMahjongg::gameOver() then it should work fine... I know that this is very wrong, as regards the testing for my patch but i could not find something better...
>
>
> Thanks,
>
> Antonis Tsiapaliokas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20130123/e0e68307/attachment.html>
More information about the kde-games-devel
mailing list