summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_raster_p.h
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-05-15 12:54:54 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-16 21:42:45 +0200
commit4689a9b3f065db2364ac52e7d867f12363f16b5d (patch)
treed48943d6bf27af4150bb97c18ad9bce5563fb81f /src/gui/painting/qpaintengine_raster_p.h
parent7952cf7e2705bd310ad8e8d0eca85a372e669fb3 (diff)
Minor optimization for QTextLineItemIterator
Don't store unused values (pos_x and levels) and re-use already calculated ones (itemStart, itemEnd, and itemLength). Also const-ify some members to make the code a bit more clear. Change-Id: Ied80ebf9e4e7e8a1d057e413a9bd24f84b8aaf92 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/gui/painting/qpaintengine_raster_p.h')
0 files changed, 0 insertions, 0 deletions