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