diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-02-24 08:32:46 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-02-24 08:32:46 (GMT) |
commit | 343a66aff949d65daa92b49c7717f9580ee35ac3 (patch) | |
tree | 70ec224270dcda88d492c21a11c15fa57969d88a /src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp | |
parent | 6680766bcdd5bff7f1a871c711202a30fe91e25e (diff) | |
download | Qt-343a66aff949d65daa92b49c7717f9580ee35ac3.zip Qt-343a66aff949d65daa92b49c7717f9580ee35ac3.tar.gz Qt-343a66aff949d65daa92b49c7717f9580ee35ac3.tar.bz2 |
Remove comment in drawStaticTextItem() in GL engine
Removing this comment, as a decision was made. QStaticText is an
optimization class. Forcing a fallback for all fonts over a certain
size would be to intrusive. People should get to decide for themselves
whether to cache the text or not when using QStaticText. They can always
fall back to drawText() themselves.
Reviewed-by: TrustMe
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp index a967e96..25ad5d7 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp @@ -1309,7 +1309,6 @@ void QGL2PaintEngineEx::drawStaticTextItem(QStaticTextItem *textItem) ? QFontEngineGlyphCache::Type(textItem->fontEngine->glyphFormat) : d->glyphCacheType; - // ### What about huge fonts? These are not passed through cache in drawTextItem(). d->drawCachedGlyphs(glyphType, textItem, true); } |