mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-13 11:39:47 +00:00
Qt: invalidate invisible game item pointers
This commit is contained in:
parent
d0c4b2de9f
commit
27cc5c8a63
1 changed files with 3 additions and 0 deletions
|
@ -2195,7 +2195,10 @@ void game_list_frame::PopulateGameList()
|
||||||
index++;
|
index++;
|
||||||
|
|
||||||
if (!IsEntryVisible(game))
|
if (!IsEntryVisible(game))
|
||||||
|
{
|
||||||
|
game->item = nullptr;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
const QString serial = qstr(game->info.serial);
|
const QString serial = qstr(game->info.serial);
|
||||||
const QString title = m_titles.value(serial, qstr(game->info.name));
|
const QString title = m_titles.value(serial, qstr(game->info.name));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue