diff options
author | Jani Hautakangas <ext-jani.hautakangas@nokia.com> | 2010-01-11 09:11:59 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-01-13 10:49:23 (GMT) |
commit | 118bd6f387e92e7f8f2dc05167551437efa1572e (patch) | |
tree | b1689446fa23cb079168cf8a3b73ded0820d37a7 /doc/src/snippets/code/src_script_qscriptcontext.cpp | |
parent | 3064243f6e474f29f3dd64596c62d03d8a953c4f (diff) | |
download | Qt-118bd6f387e92e7f8f2dc05167551437efa1572e.zip Qt-118bd6f387e92e7f8f2dc05167551437efa1572e.tar.gz Qt-118bd6f387e92e7f8f2dc05167551437efa1572e.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
(cherry picked from commit d8ad9ac86dac9489b553e6416329308ae7d823d0)
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptcontext.cpp')
0 files changed, 0 insertions, 0 deletions