summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-12-14 09:51:56 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-12-15 12:05:53 +0000
commit674b0e23829395699a3fb4863505f3afbf54a467 (patch)
treee5065008cbaf4a76f70cca337e5a85604a3bfd60
parentb0e422aa5299281fdb5cea60d5dd0ece4e362f48 (diff)
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>
-rw-r--r--src/plugins/platforms/winrt/qwinrtfontdatabase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtfontdatabase.cpp b/src/plugins/platforms/winrt/qwinrtfontdatabase.cpp
index 9bd51218a4..793256a83f 100644
--- a/src/plugins/platforms/winrt/qwinrtfontdatabase.cpp
+++ b/src/plugins/platforms/winrt/qwinrtfontdatabase.cpp
@@ -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;
}