D8573: get rid of objectTreeParser()->showOnlyOneMimePart()

Volker Krause noreply at phabricator.kde.org
Tue Oct 31 17:55:47 GMT 2017


vkrause added inline comments.

INLINE COMMENTS

> bodypartformatter.cpp:126
>          // in the message structure viewer manually, and therefore wants to see the full image
> -        if (part.objectTreeParser()->showOnlyOneMimePart() && !part.processResult()->neverDisplayInline()) {
> +        if (false && !part.processResult()->neverDisplayInline()) {
>              part.nodeHelper()->setNodeDisplayedEmbedded(node, true);

This is now dead code.

> messagepart.h:71
>      Q_PROPERTY(bool isHtml READ isHtml)
> -    Q_PROPERTY(bool isHidden READ isHidden)
> +//    Q_PROPERTY(bool isHidden READ isHidden)
>      Q_PROPERTY(QString attachmentIndex READ attachmentIndex CONSTANT)

remove commented out code?

REPOSITORY
  R94 PIM: Message Library

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

To: knauss, vkrause
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/20171031/73e836d2/attachment.html>


More information about the kde-pim mailing list