D8195: Improve render plugin selection

Volker Krause noreply at phabricator.kde.org
Mon Oct 9 20:07:31 BST 2017


vkrause added inline comments.

INLINE COMMENTS

> knauss wrote in messagepartrendererfactory.cpp:157
> return true, because, if this is empty there is no mimetype set.

That would require all plugins (and all internal renderers) to actually specify a mimetype. That is not currently the case, so we treat that as a renderer that can handle any mimetype, and thus also with the lowest priority, as its most generic. For those having a 1:1 mapping to custom part types that is perfectly fine, no need for a mimetype there anyway.

REPOSITORY
  R94 PIM: Message Library

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

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/20171009/ddbc0571/attachment.html>


More information about the kde-pim mailing list