no need to override QAbstractItemModel::hasChildren()
The default implementation does exactly what is needed and has no disadvantages regarding performance. Not having to maintain this method and keeping its logic in synch with rowCount() provides an advantage, however.
parent
d74d365d
Please register or sign in to comment