Qt: fix custom icons when "Prefer game data icons" is set

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

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