QWinRTFontDatabase: Return the base class' fallbacksForFamily

instead of an empty list.
Even if QBasicFontDatabase::fallbacksForFamily() returns an empty list ;)

Change-Id: Ib4a63e7898d2708737dd694f0629bdb68b2eb3a1
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
This commit is contained in:
Konstantin Ritt 2015-12-14 09:51:56 +04:00
parent b0e422aa52
commit 674b0e2382

View File

@ -439,6 +439,7 @@ QStringList QWinRTFontDatabase::fallbacksForFamily(const QString &family, QFont:
QStringList result;
if (family == QLatin1String("Helvetica"))
result.append(QStringLiteral("Arial"));
result.append(QBasicFontDatabase::fallbacksForFamily(family, style, styleHint, script));
return result;
}