No, it's a default behaviour of QTreeView since the tree wants to know whether each of the items has child items.
Hmm... I don't think the view cares about items that are not visible unless you asked items to be expanded, in which case it needs to calculate the total size of the tree for the scrollbar.If so, can we change this so that it will get called only for currently viewing items in view.
Bookmarks