D8071: Make KMime::Content available properly in MessagePart

Sandro Knauß noreply at phabricator.kde.org
Sat Sep 30 14:59:10 BST 2017


knauss added inline comments.

INLINE COMMENTS

> objecttreeparser.cpp:224
>                  auto mp = processType(node, processResult, QByteArrayLiteral("application/octet-stream"), onlyOneMimePart);
> -                if (mp) {
> -                    mp->setAttachmentFlag(node);
> -                }
> +                mp->setAttachmentContent(node);
>                  return mp;

mp can still be a nullptr, so keep the if statement

REPOSITORY
  R94 PIM: Message Library

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

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


More information about the kde-pim mailing list