Hi,
I have QStandardItemModel model.
When I add an item to the invisibleRootItem() of the model with setChild, it takes me arond 200 ms.
When I add an item to an item of the model with setChild, it takes me around 0 ms.
Why is it slow ? How to do it better (because I really want to add items to the invisibleRootItem()) ?
Thanks.
Temporary answer :
I had this effect when I was doing on the item (or on the invisible) a setRowCount and a setColumCount.
I still have something slow...I need to figure out where it is...
Bookmarks