Commit 82ffd8f8 authored by Boudewijn Rempt's avatar Boudewijn Rempt

BUG:330400 Open kpp files as png

parent a70db55e
......@@ -1023,6 +1023,7 @@ QString KoDocument::checkImageMimeTypes(const QString &mimeType, const KUrl &url
if (!url.isLocalFile()) return mimeType;
if (url.toLocalFile().endsWith(".flipbook")) return "application/x-krita-flipbook";
if (url.toLocalFile().endsWith(".kpp")) return "image/png";
QStringList imageMimeTypes;
imageMimeTypes << "image/jpeg"
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