mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-10 01:10:35 +00:00
9e4991aced
that allowed case insensitive
matches of file extensions.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
ca72428783
commit
a2be63e42b
@ -45,7 +45,7 @@ struct DocumentInfo
|
||||
size_t currentPosition = 0;
|
||||
bool currentlyProcessing = false;
|
||||
bool isPdf() const {
|
||||
return doc.suffix() == u"pdf"_s;
|
||||
return doc.suffix().compare(u"pdf"_s, Qt::CaseInsensitive) == 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user