We also support opening Okular archive files

This commit is contained in:
Albert Astals Cid 2017-11-13 17:30:10 +01:00 committed by Albert Astals Cid
parent 34f40b2c6f
commit eea5127e73

View file

@ -4322,6 +4322,9 @@ QStringList Document::supportedMimeTypes() const
result.append(mimeType.name());
}
// Add the Okular archive mimetype
result << QStringLiteral("application/vnd.kde.okular-archive");
// Sorting by mimetype name doesn't make a ton of sense,
// but ensures that the list is ordered the same way every time
qSort(result);