diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-22 11:30:48 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-02-08 19:57:52 +0000 |
commit | dcd79eebdbcbcb5e67b0456bdef3af8ea4a4dc4f (patch) | |
tree | dc6b82a2e286f27b95a408a04157ed4a86cf871b /src/network | |
parent | 27de4ea4d672d9f1b3a733f803f8605f81311d0a (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/network')
0 files changed, 0 insertions, 0 deletions