D8551: Probe attachment mimetypes ourselves when there's doubt

Sandro Knauß noreply at phabricator.kde.org
Mon Oct 30 14:49:02 GMT 2017


knauss added inline comments.

INLINE COMMENTS

> knauss wrote in objecttreeparser.cpp:270
> Do we really need to write the the content to file before getting the propper mimetype? isn't that possible with QTextStream?

maybe you want use NodeHelper::magicSetType / maybe without modifiing the contentType... This method is called later on from AttachmentMessagePartRenderer::render ...

REPOSITORY
  R94 PIM: Message Library

REVISION DETAIL
  https://phabricator.kde.org/D8551

To: vkrause
Cc: knauss, #kde_pim, dvasin, winterz, vkrause, mlaurent, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20171030/5983690a/attachment.html>


More information about the kde-pim mailing list