remove the seconds

removes the seconds from the screen, but in the play_time.txt file it continues to record the seconds for better accuracy, and the screen is cleaner
This commit is contained in:
DanielSvoboda 2024-10-09 02:29:36 -03:00
parent af1e6114eb
commit 1c1532e9e0

View File

@ -119,9 +119,6 @@ void GameListFrame::PopulateGameList() {
if (minutes > 0) {
formattedPlayTime += QString("%1m ").arg(minutes);
}
if (seconds > 0 || formattedPlayTime.isEmpty()) {
formattedPlayTime += QString("%1s").arg(seconds);
}
formattedPlayTime = formattedPlayTime.trimmed();
m_game_info->m_games[i].play_time = playTime.toStdString();