merge definition checks in initializeFontDb() function

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-12-23 15:37:10 +02:00
parent 6717f4a716
commit 0461998834

View file

@ -698,9 +698,7 @@ static void initializeFontDb()
#ifdef QFONTDATABASE_DEBUG
FD_DEBUG("QFontDatabase: loaded FontConfig: %d ms", int(elapsedtimer.elapsed()));
#endif
#endif
#ifndef QT_NO_FONTCONFIG
for (int i = 0; i < db->count; i++) {
for (int j = 0; j < db->families[i]->count; ++j) { // each foundry
QtFontFoundry *foundry = db->families[i]->foundries[j];