kDebug(KIO_MTP) << "transferring" << *gotlen << "bytes to data()";
- data = (unsigned char*) buffer.data();
+ data = (unsigned char*)buffer.data();
return LIBMTP_HANDLER_RETURN_OK;
}
case LIBMTP_FILETYPE_PPT:
return QLatin1String("application/vnd.ms-powerpoint");
case LIBMTP_FILETYPE_MHT:
- return QLatin1String(""); // TODO: application/x-mimearchive?
+ return QLatin1String("application/x-mimearchive");
case LIBMTP_FILETYPE_JP2:
return QLatin1String("image/jpeg2000");
case LIBMTP_FILETYPE_JPX:
return QString();
}
-LIBMTP_filetype_t getFiletype( const QString &filename)
+LIBMTP_filetype_t getFiletype(const QString &filename)
{
LIBMTP_filetype_t filetype;