diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-03-01 10:09:02 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-08 05:31:40 +0100 |
commit | a03a71e332294aa500ac8475bb777c2f33609e8b (patch) | |
tree | e34b460ad45825c9accb48b79ad72dde44c707f7 /tests/auto/widgets/graphicsview/qgraphicsproxywidget | |
parent | e2f8cdf9a637d88d43fbd3f5a174ba81051ee975 (diff) |
examples: use QVector<QPointF> instead of QList<QPointF>
QPointF is in the category of types for which QList
is needlessly inefficient (elements are copy-constructed
onto the heap and held through pointers). Use a vector
instead. This is consistent with the QPainter API.
Change-Id: Id0e910c067a60d12fbc175e7ee7da824834be374
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/widgets/graphicsview/qgraphicsproxywidget')
0 files changed, 0 insertions, 0 deletions