summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbwindow.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-06-18 21:38:58 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-06-25 18:58:10 +0000
commit0e2dae902b316a40a1d861198da55118d2155964 (patch)
tree5c71c1129438c598c7c8eccb07f57835468086a4 /src/plugins/platforms/xcb/qxcbwindow.cpp
parent5712c62d1cfdcf56c772d8a63d52ad58945f194c (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 'src/plugins/platforms/xcb/qxcbwindow.cpp')
0 files changed, 0 insertions, 0 deletions