diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-06-05 23:10:41 +0100 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2023-06-05 23:12:47 +0100 |
commit | 7c5047b2acd25708063056cff547dc1b8fcfbb41 (patch) | |
tree | 94f133aa88eaabadb7ec65d7393cc19359bcccab /launcher/VersionProxyModel.cpp | |
parent | 961285d6abad3e70a0ab748007349ef67632f138 (diff) | |
download | PrismLauncher-7c5047b2acd25708063056cff547dc1b8fcfbb41.tar.gz PrismLauncher-7c5047b2acd25708063056cff547dc1b8fcfbb41.tar.bz2 PrismLauncher-7c5047b2acd25708063056cff547dc1b8fcfbb41.zip |
cAsE iNsEnSiTiVe
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/VersionProxyModel.cpp')
-rw-r--r-- | launcher/VersionProxyModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/VersionProxyModel.cpp b/launcher/VersionProxyModel.cpp index d5d14c24..47cfa5ba 100644 --- a/launcher/VersionProxyModel.cpp +++ b/launcher/VersionProxyModel.cpp @@ -58,7 +58,7 @@ public: const QString &search = m_parent->search(); 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; for (auto it = filters.begin(); it != filters.end(); ++it) |