mirror of https://github.com/RPCS3/rpcs3.git
patch manager: Properly hide legacy patches
This commit is contained in:
parent
b212f29cf2
commit
7d9d58f38f
|
@ -133,6 +133,11 @@ void patch_manager_dialog::populate_tree()
|
||||||
// Add patch items
|
// Add patch items
|
||||||
for (const auto& [description, patch] : container.patch_info_map)
|
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_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);
|
const QString q_serials = patch.serials.empty() ? tr("Unknown Version") : QString::fromStdString(patch.serials);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue