cAsE iNsEnSiTiVe
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
961285d6ab
commit
7c5047b2ac
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user