<table><tr><td style="">bruleherman added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21781">View Revision</a></tr></table><br /><div><div><p>I fix:</p>
<ol class="remarkup-list">
<li class="remarkup-list-item">wrong count of m_children in parent after remove</li>
<li class="remarkup-list-item">wrong root size when you add file at existing tree</li>
</ol>
<p>If you don't use deleteFile, then remove the buggy method, else fix it 1)<br />
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.</p>
<p>I have implemented the code here:<br />
<a href="https://github.com/alphaonex86/Ultracopier/tree/master/test/radialmap" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/alphaonex86/Ultracopier/tree/master/test/radialmap</a><br />
And in my case I need append file after the root is constructed</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R352 Filelight</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21781">https://phabricator.kde.org/D21781</a></div></div><br /><div><strong>To: </strong>bruleherman, aacid, sitter<br /><strong>Cc: </strong>ngraham, kde-utils-devel<br /></div>