diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-03-31 17:43:43 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-06 08:52:12 (GMT) |
commit | 718905c097a7f3bbf9805a2561cd855a0b2d8f59 (patch) | |
tree | b5dce02e53756538d2c57f79391f6d830a82322d /tools/linguist | |
parent | db8dfc29de6bde8d4a4c65d8d5f7d3d579b859bb (diff) | |
download | Qt-718905c097a7f3bbf9805a2561cd855a0b2d8f59.zip Qt-718905c097a7f3bbf9805a2561cd855a0b2d8f59.tar.gz Qt-718905c097a7f3bbf9805a2561cd855a0b2d8f59.tar.bz2 |
Speed up selectAll in QTreeView with spans
When we had spans, in order to have the selection rect, we took the slow
path in all cases, even if the header section did not move.
Now, take the fast path if the sections did not move.
This requires few adjustement to the code: we cannot call visualRect
anymore since the index may be within a span.
Task-number: 244651
Reviewed-by: Marius Bugge Monsen
Diffstat (limited to 'tools/linguist')
0 files changed, 0 insertions, 0 deletions