summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2019-04-13 15:38:15 +0200
committerDavid Faure <david.faure@kdab.com>2019-04-23 16:17:15 +0000
commit20e286107344f2cb188f5292d31dc62bf7708365 (patch)
treeeb6fb934e3819b7bbbffe011713a9de402315318 /util
parent54ceb8a5f86465dcde334973dedf401b31210e63 (diff)
Optimize QAbstractTableModel::hasChildren
Valid indexes cannot have children, in a table model, so there's no point in asking the model about it (by calling rowCount and columnCount). Change-Id: Ic2d7b52538a7b67acb2c35b26e69bba5956ef5af Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions