summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-24 02:04:09 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-02-11 19:25:31 +0000
commit2523f62939948f383178054c2d061711c0413348 (patch)
tree2b053608f608b130837fe89132b09e9c49229116 /src/gui/text
parent612e082fe2ad16fa4ba251c435092547efff69a1 (diff)
QPainter: replace an inefficient QList with QVector
QPainterClipInfo is larger than a void*, so holding it 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 it movable and holding it in a QVector instead. Port from op<< to append() to reap rvalue push_back(). Change-Id: I3af17eca2443d26a795381635510b8b9a5795e5f Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions