mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-21 18:41:59 +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;
|
size_t currentPosition = 0;
|
||||||
bool currentlyProcessing = false;
|
bool currentlyProcessing = false;
|
||||||
bool isPdf() const {
|
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