D21781: Fix for Tree

Herman BRULE noreply at phabricator.kde.org
Mon Jun 17 13:17:40 BST 2019


bruleherman added a comment.


  I fix:
  
  1. wrong count of m_children in parent after remove
  2. wrong root size when you add file at existing tree
  
  If you don't use deleteFile, then remove the buggy method, else fix it 1)
  In your code 2) will not append, but when some body (like me), reuse you code, and do it, it have problem because it can use it like that's.
  
  I have implemented the code here:
  https://github.com/alphaonex86/Ultracopier/tree/master/test/radialmap
  And in my case I need append file after the root is constructed

REPOSITORY
  R352 Filelight

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

To: bruleherman, aacid, sitter
Cc: ngraham, kde-utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20190617/017f7398/attachment.html>


More information about the Kde-utils-devel mailing list