Qt: fix custom icons when "Prefer game data icons" is set
Some checks are pending
Generate Translation Template / Generate Translation Template (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run

This commit is contained in:
Megamouse 2025-03-26 18:15:30 +01:00
parent 467c4ba2cf
commit 2a7e957c61

View file

@ -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
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))
{