mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Merge remote-tracking branch 'origin/Applications/18.08'
This commit is contained in:
commit
3cdb348d1e
|
@ -4905,7 +4905,7 @@ Document::OpenResult Document::openDocumentArchive( const QString & docFile, con
|
|||
|
||||
const QString tempFileName = d->m_archiveData->document.fileName();
|
||||
QMimeDatabase db;
|
||||
const QMimeType docMime = db.mimeTypeForFile( tempFileName, QMimeDatabase::MatchContent );
|
||||
const QMimeType docMime = db.mimeTypeForFile( tempFileName, QMimeDatabase::MatchExtension );
|
||||
const OpenResult ret = openDocument( tempFileName, url, docMime, password );
|
||||
|
||||
if ( ret != OpenSuccess )
|
||||
|
|
Loading…
Reference in a new issue