summaryrefslogtreecommitdiffstats
path: root/src/platformsupport
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2014-10-11 12:54:55 +0200
committerDavid Faure <david.faure@kdab.com>2014-10-12 10:37:58 +0200
commitcd824ee79188b889df85d4d648a625589655e15e (patch)
treeda1366a70e028cd6a890b8c3aa49647e90d973e1 /src/platformsupport
parent97f119af14d3cc1be24400a5e542d26fca96d36b (diff)
QAIV: speed up isRowHidden for the case where no rows are hidden.
isPersistent(index) is a linear search, which we can avoid altogether (as well as the creation of a persistent model index, is idx is indeed persistent) when the row-hiding feature isn't used at all. Change-Id: I07488dddf56e299806cc29749e633da00115fc30 Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/platformsupport')
0 files changed, 0 insertions, 0 deletions