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:
Adam Treat 2024-07-10 19:05:01 -04:00
parent 6cb3ddafd6
commit 69e13973d0

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;