summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-22 11:30:48 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-02-08 19:57:52 +0000
commitdcd79eebdbcbcb5e67b0456bdef3af8ea4a4dc4f (patch)
treedc6b82a2e286f27b95a408a04157ed4a86cf871b /src/widgets/kernel
parent27de4ea4d672d9f1b3a733f803f8605f81311d0a (diff)
QToolBarAreaLayout: replace inefficient QLists with QVector
QToolBarAreaLayout{Item,Line} are larger than a void*, so holding them in QLists is needlessly inefficient. Worse, the code could come to depend on the fragile property of (inefficient) QLists that references to elements therein never are invalidated. Fix by marking the types primitive and movable, resp., and holding them in QVector instead. Change-Id: I4e68d4bee41040bf84302b8ce8295a11debded70 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/widgets/kernel')
0 files changed, 0 insertions, 0 deletions