mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-09-11 13:25:35 +03:00
Fix for issue #2609.
Provide case insensitive matching of localdocs file extensions. Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
d87484d3c9
commit
9e4991aced
@ -1459,7 +1459,7 @@ void Database::scanDocuments(int folder_id, const QString &folder_path)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!m_scannedFileExtensions.contains(fileInfo.suffix()))
|
||||
if (!m_scannedFileExtensions.contains(fileInfo.suffix(), Qt::CaseInsensitive))
|
||||
continue;
|
||||
|
||||
DocumentInfo info;
|
||||
|
Loading…
Reference in New Issue
Block a user