D25642: Add minimal number of moves statistics
Albert Astals Cid <[email protected]>
| Newsgroups | gmane.comp.kde.devel.games |
|---|---|
| Message-ID | <[email protected]> |
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