I will try, but don't see the point of it - parent is being defined just before insertRows() is called - you can see, how it is done, in comment #3.
For me it looks fine, and debugger shows normal parent - when I breakpoint on "mProxyModel->insertRows(row, 1, parent)".
Sorry, I am not sure I understand fully what you mean.
Could you explain? Or maybe the call in comment #3 will help? Getting parent and insertRows() call are shown there.
It is taken from tree selection model - so, I think it is proxy model index. Am I wrong?
Bookmarks