diff options
| author | Ivan Komissarov <ABBAPOH@gmail.com> | 2015-05-27 15:12:54 +0300 |
|---|---|---|
| committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2015-05-28 11:02:22 +0000 |
| commit | bccdb62340659cfdf4e0f8b53180fb73fda6ea39 (patch) | |
| tree | 254e9786afcf093b53b7455397dedcaeaa4665f6 /src/widgets/kernel/qopenglwidget.cpp | |
| parent | 22ecebcc72e418b6bf22562bd8a247261a7a4a37 (diff) | |
Improve QHeaderView::sectionsInserted performance
Old implementation had complexity O(oldSectionCount); replace it with
O(hiddenSectionCount) algorithm. This boosts performance in case of the
vertical headers for models with big row count.
Change-Id: I7bb02f5579ce83fbdecf5f8c3aa7dcc0ac60dd40
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/kernel/qopenglwidget.cpp')
0 files changed, 0 insertions, 0 deletions
