Quote Originally Posted by KanareykaVBusikah View Post
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.
And it can be an empty model index...

Sorry, I am not sure I understand fully what you mean.
What is the object returned from QModelIndex::model() for that index. Is it the proxy model instance or some other model.