Commit 807162f3 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

mtp: switch all enum values

these two have no mimetype representation
parent cf034759
......@@ -251,6 +251,8 @@ static QString getMimetype(LIBMTP_filetype_t filetype)
return QStringLiteral("image/jpeg2000");
case LIBMTP_FILETYPE_JPX:
return QStringLiteral("application/x-jbuilder-project");
case LIBMTP_FILETYPE_ALBUM:
case LIBMTP_FILETYPE_PLAYLIST:
case LIBMTP_FILETYPE_UNKNOWN:
return {};
}
......
Supports Markdown
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