What type of model is that?
- The clear() method exists for a QStandardItemModel, and should be enough to remove all items in the model.
- The removeRows() method (but not implementation, necessarily) exists for any QAbstractItemModel derivate so there is supposedly something wrong with your qRecap pointer...
Bookmarks