mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Qt: fix custom icons when "Prefer game data icons" is set
This commit is contained in:
parent
467c4ba2cf
commit
2a7e957c61
|
|
@ -899,7 +899,7 @@ void game_list_frame::OnRefreshFinished()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Let's fetch the game data icon if preferred or if the path was empty for some reason
|
// Let's fetch the game data icon if preferred or if the path was empty for some reason
|
||||||
if (m_prefer_game_data_icons || entry->info.icon_path.empty())
|
if ((m_prefer_game_data_icons && !entry->has_custom_icon) || entry->info.icon_path.empty())
|
||||||
{
|
{
|
||||||
if (std::string icon_path = other->info.path + "/" + localized_icon; fs::is_file(icon_path))
|
if (std::string icon_path = other->info.path + "/" + localized_icon; fs::is_file(icon_path))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue