diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-06-18 21:38:58 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-06-25 18:58:10 +0000 |
commit | 0e2dae902b316a40a1d861198da55118d2155964 (patch) | |
tree | 5c71c1129438c598c7c8eccb07f57835468086a4 /tests/auto/widgets/kernel/qwidget | |
parent | 5712c62d1cfdcf56c772d8a63d52ad58945f194c (diff) |
QTreeView: speedup expanding items via keyPressEvent/asterisk
Expanding items with asterisk is done with expand(QModelIndex) which in
the end calls layout() which is very slow and useless until all items
are expanded. Therefore delay the relayouting until all items are
expanded.
[ChangeLog][QtWidgets][QTreeView] Speedup expanding items when
pressing asterisk
Task-number: QTBUG-39486
Change-Id: Ieb798fc22e9fa0dcac4bb92de7e3ed3ebb9d1c38
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/auto/widgets/kernel/qwidget')
0 files changed, 0 insertions, 0 deletions