summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontdatabase.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-10-09 16:33:38 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-10-09 16:43:01 (GMT)
commite19341924f93304c0d8ee45ff0d2dd9539cfb2b5 (patch)
treecddebc331ee41ca320340f034ca5e5319791265b /src/gui/text/qfontdatabase.cpp
parent2e0ba7333993c417fd4871a977c4d787e344692c (diff)
downloadQt-e19341924f93304c0d8ee45ff0d2dd9539cfb2b5.zip
Qt-e19341924f93304c0d8ee45ff0d2dd9539cfb2b5.tar.gz
Qt-e19341924f93304c0d8ee45ff0d2dd9539cfb2b5.tar.bz2
Fix compile error on symbian platform
Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/gui/text/qfontdatabase.cpp')
-rw-r--r--src/gui/text/qfontdatabase.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp
index d0f4d2e..e8f6d39 100644
--- a/src/gui/text/qfontdatabase.cpp
+++ b/src/gui/text/qfontdatabase.cpp
@@ -1351,7 +1351,11 @@ static void match(int script, const QFontDef &request,
unsigned int score = ~0u;
+#ifdef Q_WS_X11
load(family_name, script, forceXLFD);
+#else
+ load(family_name, script);
+#endif
QFontDatabasePrivate *db = privateDb();
for (int x = 0; x < db->count; ++x) {