summaryrefslogtreecommitdiffstats
path: root/src/gui/doc
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-07-09 17:06:33 +0300
committerQt by Nokia <qt-info@nokia.com>2012-07-10 03:23:43 +0200
commit98c1eb1750498cdff9d3b26658e5e5be9c026c92 (patch)
treeca8b225bcd476d526cfa5c7afd3c6e759bf3e79a /src/gui/doc
parent1db99a6250f96892362f57180b3cccfd09bf7ff4 (diff)
Optimize Q*FontEngine*::stringToCMap()
by avoiding the glyph metrics calculation when those metrics weren't requested (QFontEngine::GlyphIndicesOnly flag has been passed). As a side effect, this fixes a crash in case QGlyphLayout was initialized only partially (with the glyphs array and the size). Change-Id: I7d67abc2a74683131361fa21f8be203f61f247bc Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/doc')
0 files changed, 0 insertions, 0 deletions