mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
fixes the invisible 0
This commit is contained in:
parent
1c1532e9e0
commit
087da35f63
@ -122,7 +122,11 @@ void GameListFrame::PopulateGameList() {
|
||||
|
||||
formattedPlayTime = formattedPlayTime.trimmed();
|
||||
m_game_info->m_games[i].play_time = playTime.toStdString();
|
||||
SetTableItem(i, 7, formattedPlayTime);
|
||||
if (formattedPlayTime.isEmpty()) {
|
||||
SetTableItem(i, 7, "0");
|
||||
} else {
|
||||
SetTableItem(i, 7, formattedPlayTime);
|
||||
}
|
||||
}
|
||||
|
||||
QString path;
|
||||
|
Loading…
Reference in New Issue
Block a user