TreeView::removeSubItem parent update?


#1

Hi,

I just found a small issue on removing a TreeView subitem without deleting it, its parentItem member is not reset to 0. I guess that a subitem is deleted when removed from a tree in 99.9% of the cases, but here I need to remove it properly without deleting it. And so I expect its parentItem to not continue pointing to its former parent… :wink:

Well, nothing urgent, it was just to check my code consistency 8)


#2

Good point, thanks, I’ll check that!