D25642: Add minimal number of moves statistics

Albert Astals Cid noreply at phabricator.kde.org
Sun Dec 1 21:53:54 GMT 2019


aacid added inline comments.

INLINE COMMENTS

> statisticsdialog.cpp:125
>  	ui->LoseStreak->setText( QString::number( cg.readEntry(QStringLiteral("maxloosestreak%1").arg(gameIndex), 0)));
> +	int minMoves = cg.readEntry(QStringLiteral("minmoves%1").arg(gameIndex), 0);
> +	if(minMoves < 0)

Shouldn't that 0 be -1 ?

Otherwise for already recorded stats you'll get a 0, no?

REPOSITORY
  R410 KPatience

REVISION DETAIL
  https://phabricator.kde.org/D25642

To: piotrkakol, #kde_games
Cc: aacid, kde-games-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20191201/86cb5e83/attachment.html>


More information about the kde-games-devel mailing list