Make direct search case insensitive.
This commit is contained in:
parent
96390f72d7
commit
0c5a1ffcb5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue