summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-10-11 13:39:46 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-10-18 08:36:36 +0200
commita7df98a9a72ee460c6bd23388d52b1200e7ed3ba (patch)
tree8a596b740dd79883588c0b5127a1a39af46afcec /configure
parent19f29802bf7daafacd0fd824c2a1349e80eac536 (diff)
QSortFilterProxyModel: Add a cheaper way to find source_sort_column
There are two places where we are only interested in the mapping of proxy to source sort column, rather than the full mapping. Creating the full mapping is rather expensive as it iterates all rows and columns and allocates a large number of objects. Just figuring out the n-th accepted column can be much cheaper. Fixes: QTBUG-41659 Change-Id: I7ea914cb695518b4d47cdc3ad67c7786380d8709 Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions