cAsE iNsEnSiTiVe

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2023-06-05 23:10:41 +01:00
parent 961285d6ab
commit 7c5047b2ac

View File

@ -58,7 +58,7 @@ public:
const QString &search = m_parent->search(); const QString &search = m_parent->search();
const QModelIndex idx = sourceModel()->index(source_row, 0, source_parent); const QModelIndex idx = sourceModel()->index(source_row, 0, source_parent);
if (!search.isEmpty() && !sourceModel()->data(idx, BaseVersionList::VersionRole).toString().contains(search)) if (!search.isEmpty() && !sourceModel()->data(idx, BaseVersionList::VersionRole).toString().contains(search, Qt::CaseInsensitive))
return false; return false;
for (auto it = filters.begin(); it != filters.end(); ++it) for (auto it = filters.begin(); it != filters.end(); ++it)