Try to distinguish between Update and DLC (Part 2)

This commit is contained in:
Megamouse 2020-11-25 19:04:12 +01:00
parent cde802b16c
commit 36189b8c3b
4 changed files with 29 additions and 8 deletions

View file

@ -69,14 +69,14 @@ pkg_install_dialog::pkg_install_dialog(const QStringList& paths, game_compatibil
accumulated_info = info.title_id;
}
if (info.category == "GD")
if (info.type != compat::package_type::other)
{
if (!accumulated_info.isEmpty())
{
accumulated_info += ", ";
}
if (info.is_dlc)
if (info.type == compat::package_type::dlc)
{
accumulated_info += tr("DLC", "Package type info (DLC)");
}