Make direct search case insensitive.

This commit is contained in:
iaom 2021-04-22 10:02:27 +08:00
parent 96390f72d7
commit 0c5a1ffcb5
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ void DirectSearch::run()
if (i.isDir() && (!(i.isSymLink()))) {
bfs.enqueue(i.absoluteFilePath());
}
if (i.fileName().contains(m_keyword)) {
if (i.fileName().contains(m_keyword, Qt::CaseInsensitive)) {
SearchManager::m_mutex1.lock();
// qWarning() << i.fileName() << m_keyword;
if (m_uniqueSymbol == SearchManager::uniqueSymbol1) {