Commit 97154479 authored by Toni Asensi Esteve's avatar Toni Asensi Esteve

Identify one more MIME type as "cbr" in order to deal with it as it's expected

FIXED: [ 423877 ] cbr files are not opened with a cbr reader (Okular, for example)
BUG: 423877

Revision: !20
parent ca01f649
......@@ -263,6 +263,10 @@ QString KrArcBaseManager::getShortTypeFromMime(const QString &mime)
if (mime == "application/x-rar-compressed" || mime == "application/vnd.rar")
return "rar";
// If it's a cbr file but its mimetype isn't "application/x-cbr"
if (mime == "application/vnd.comicbook-rar")
return "cbr";
// The short type that will be returned
QString sType = mime;
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