diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-10-06 22:50:12 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-01-18 10:34:24 +0000 |
commit | ea76ab2b2ded0197ddf9e33e8d6a8af909fce31c (patch) | |
tree | 550b08d1e6be098dda312551c5465fd9fd26793f /src/widgets/graphicsview/qgraphicslayout_p.h | |
parent | b30ea419450c968c009ddcae964b1b54755f11ac (diff) |
QtWidgets: replace uses of inefficient QList<QPair>s with QVectors
These QPairs 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 holding them in QVector instead.
Change-Id: I3c205f5326cfd96482563078bdca1747d718457f
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicslayout_p.h')
0 files changed, 0 insertions, 0 deletions