no need to override QAbstractItemModel::hasChildren()

Authored by shentey on Mar 25 2017, 10:14 AM.

Description

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.

Details

Committed
shenteyMar 25 2017, 10:14 AM
Parents
R34:d74d365df135: avoid redundant parameter
Branches
Unknown
Tags
Unknown