mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 01:29:23 +00:00
patch manager: Properly hide legacy patches
This commit is contained in:
parent
b212f29cf2
commit
7d9d58f38f
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue