mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04: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
6cb3ddafd6
commit
69e13973d0
@ -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