mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Decrypt application
This commit is contained in:
@ -1416,7 +1416,7 @@ void PDFProgramController::openDocument(const QString& fileName)
|
||||
};
|
||||
|
||||
// Try to open a new document
|
||||
pdf::PDFDocumentReader reader(m_progress, qMove(queryPassword), true);
|
||||
pdf::PDFDocumentReader reader(m_progress, qMove(queryPassword), true, false);
|
||||
pdf::PDFDocument document = reader.readFromFile(fileName);
|
||||
|
||||
result.errorMessage = reader.getErrorMessage();
|
||||
|
Reference in New Issue
Block a user