Qt: include more entry strings in search

This commit is contained in:
KrossX 2022-09-08 15:19:35 -03:00 committed by refractionpcsx2
parent e0cb165927
commit 7dd88213b1
1 changed files with 4 additions and 1 deletions

View File

@ -80,7 +80,10 @@ public:
return false;
if (m_filter_region != GameList::Region::Count && entry->region != m_filter_region)
return false;
if (!m_filter_name.isEmpty() && !QString::fromStdString(entry->title).contains(m_filter_name, Qt::CaseInsensitive))
if (!m_filter_name.isEmpty() &&
!QString::fromStdString(entry->path).contains(m_filter_name, Qt::CaseInsensitive) &&
!QString::fromStdString(entry->serial).contains(m_filter_name, Qt::CaseInsensitive) &&
!QString::fromStdString(entry->title).contains(m_filter_name, Qt::CaseInsensitive))
return false;
}