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:
AT 2024-07-10 19:08:24 -04:00 committed by GitHub
parent d87484d3c9
commit 9e4991aced
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;