patch manager: Properly hide legacy patches

This commit is contained in:
Megamouse 2020-06-19 18:59:04 +02:00
parent b212f29cf2
commit 7d9d58f38f

View File

@ -133,6 +133,11 @@ void patch_manager_dialog::populate_tree()
// Add patch items
for (const auto& [description, patch] : container.patch_info_map)
{
if (patch.is_legacy)
{
continue;
}
const QString q_title = patch.title.empty() ? tr("Unknown Title") : QString::fromStdString(patch.title);
const QString q_serials = patch.serials.empty() ? tr("Unknown Version") : QString::fromStdString(patch.serials);