[Kde-games-devel] Review Request 125855: Fix bug #353845 save and load game number properly

Albert Astals Cid aacid at kde.org
Sun Nov 1 23:26:29 UTC 2015


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

Ship it!


the long/qint64 is not optimal but i'd be more scared to break anything else by changing that long than this that at most breaks loading the number that was already broken :D

I'll commit the patch, thanks a log!

- Albert Astals Cid


On oct. 30, 2015, 11:18 p.m., Dustin Steinack wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125855/
> -----------------------------------------------------------
> 
> (Updated oct. 30, 2015, 11:18 p.m.)
> 
> 
> Review request for KDE Games.
> 
> 
> Bugs: 353845
>     http://bugs.kde.org/show_bug.cgi?id=353845
> 
> 
> Repository: kmahjongg
> 
> 
> Description
> -------
> 
> This fix enables kmahjongg to write the current game number to the savegame file. 
> 
> The game number will be displayed in the status line if a saved games is loaded. Loading an old savegame will not change the status line.
> 
> 
> Diffs
> -----
> 
>   boardwidget.h 6e1d3f5 
>   boardwidget.cpp 6a4f033 
>   kmahjongg.cpp eb1dfa1 
> 
> Diff: https://git.reviewboard.kde.org/r/125855/diff/
> 
> 
> Testing
> -------
> 
> Loading savegame with game number included in a patched version of kmahjongg: works as expected.
> Loading savegame with game number included in an unpatched version of kmahjongg: game correctly restored, status line unaffected.
> Loading savegame with game number excluded in a patched version of kmahjongg: game correctly restored, status line unaffected.
> 
> 
> Thanks,
> 
> Dustin Steinack
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20151101/5bb95ff1/attachment.html>


More information about the kde-games-devel mailing list