Commit dde9df25 authored by Volker Krause's avatar Volker Krause
Browse files

Fix PDF file name detection

parent 33598c1e
......@@ -37,7 +37,7 @@ ExternalProcessor::~ExternalProcessor() = default;
bool ExternalProcessor::canHandleData(const QByteArray &encodedData, QStringView fileName) const
return PdfDocument::maybePdf(encodedData) || fileName.endsWith(QLatin1String(".pdf", Qt::CaseInsensitive));
return PdfDocument::maybePdf(encodedData) || fileName.endsWith(QLatin1String(".pdf"), Qt::CaseInsensitive);
ExtractorDocumentNode ExternalProcessor::createNodeFromData(const QByteArray &encodedData) const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment