diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-11-10 18:01:56 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-11 16:47:23 +0100 |
commit | 89cfe9eb01ad75c14121dbd6038b7c791226acf1 (patch) | |
tree | c04cc62a2a6f35d7522220a7f024c3a2190d827f /src/platformsupport/fontdatabases | |
parent | f02c2389ee02ea14adbdf6a76a484dd638326aa9 (diff) |
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>
Diffstat (limited to 'src/platformsupport/fontdatabases')
0 files changed, 0 insertions, 0 deletions