D10255: Prevent infinite recursion in messagelist

Daniel Vrátil noreply at phabricator.kde.org
Sat Feb 3 12:32:02 GMT 2018


dvratil added a comment.


  Hmm, sounds like the real problem is that we have a MessageItem which has itself as its own parent, but fixing that might be more complex quite hard.
  
  Maybe a better modification would be to change the `!parent()` condition above (not visible in this patch)
  
    // TODO: investigate why Items may have self-referential parent
    if (!parent() || parent() == this) {
        return this;
    }

REPOSITORY
  R94 PIM: Message Library

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

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


More information about the kde-pim mailing list