mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +00:00
Qt: Search more things!
Co-Authored-By: KrossX <2485237+krossx@users.noreply.github.com>
This commit is contained in:
parent
4530301820
commit
d0c07a0b3a
@ -970,7 +970,10 @@ public:
|
|||||||
if (m_filter_region != DiscRegion::Count && entry->region != m_filter_region)
|
if (m_filter_region != DiscRegion::Count && entry->region != m_filter_region)
|
||||||
return false;
|
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;
|
return false;
|
||||||
|
|
||||||
return QSortFilterProxyModel::filterAcceptsRow(source_row, source_parent);
|
return QSortFilterProxyModel::filterAcceptsRow(source_row, source_parent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user