diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-11-10 17:01:56 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-04 18:23:32 (GMT) |
commit | d281f94c30aa15765c9c1ec0a613311514033076 (patch) | |
tree | d1b70dc6e736bc570554c07c46c623fbdedb247c /src/opengl/qpixmapdata_symbiangl.cpp | |
parent | 6e5d6d292ba6bcd686367077228b17d02160bee9 (diff) | |
download | Qt-d281f94c30aa15765c9c1ec0a613311514033076.zip Qt-d281f94c30aa15765c9c1ec0a613311514033076.tar.gz Qt-d281f94c30aa15765c9c1ec0a613311514033076.tar.bz2 |
Fix application font loading in basic font db
We need to reregister fonts in initializeDb because basic font db
doesn't have an internal record like fontconfig does, so just
repopulating the font database won't work. db->reregisterAppFonts
is now used properly as intended (reregister application fonts
after the system font database has been cleared).
Also, static variable 'initialized' in initializeDb() is removed
since we check privateDb()->count to see if it needs to be populated
again.
Task-number: QTBUG-22063
Change-Id: Ifc66392b56b72acbe08b99256c61421c204be5d7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
(cherry picked from commit 89cfe9eb01ad75c14121dbd6038b7c791226acf1)
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'src/opengl/qpixmapdata_symbiangl.cpp')
0 files changed, 0 insertions, 0 deletions