summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengine_s60_p.h
diff options
context:
space:
mode:
authorJani Hautakangas <ext-jani.hautakangas@nokia.com>2010-01-11 09:11:59 (GMT)
committerJani Hautakangas <ext-jani.hautakangas@nokia.com>2010-01-11 09:18:57 (GMT)
commitd8ad9ac86dac9489b553e6416329308ae7d823d0 (patch)
tree94c8e4e11d6ae46c20a20cf68acee2cbfe3b8925 /src/gui/text/qfontengine_s60_p.h
parentd3db719f8dce8abfa81c39f54d0fd58b4e75a1ca (diff)
downloadQt-d8ad9ac86dac9489b553e6416329308ae7d823d0.zip
Qt-d8ad9ac86dac9489b553e6416329308ae7d823d0.tar.gz
Qt-d8ad9ac86dac9489b553e6416329308ae7d823d0.tar.bz2
Fix for QTBUG-6408 QFontEngineS60::QFontEngineS60 called hundreds of
times, taking up to 1ms each call. Use S60->ScreenDevice() to get/release fonts instead of create a new screen device each time. Task-number: QTBUG-6408 Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/text/qfontengine_s60_p.h')
-rw-r--r--src/gui/text/qfontengine_s60_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/text/qfontengine_s60_p.h b/src/gui/text/qfontengine_s60_p.h
index 9e22245..b21f1c8 100644
--- a/src/gui/text/qfontengine_s60_p.h
+++ b/src/gui/text/qfontengine_s60_p.h
@@ -126,9 +126,6 @@ private:
QFixed glyphAdvance(HB_Glyph glyph) const;
- CFbsBitmap *m_textRenderBitmap;
- CFbsBitmapDevice *m_textRenderBitmapDevice;
- CFbsBitGc *m_textRenderBitmapGc;
CFont* m_font;
const QFontEngineS60Extensions *m_extensions;
qreal m_fontSizeInPixels;