summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/fontdatabase.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/library/fontdatabase.cpp b/library/fontdatabase.cpp
index 899d5cf..c7a5211 100644
--- a/library/fontdatabase.cpp
+++ b/library/fontdatabase.cpp
@@ -54,4 +54,4 @@ static QString fontFamily( const QString& key )
-QValueList<FontFactory> *FontDatabase::factoryList = 0;
+QValueList<FontFactory> *FontDatabase::factoryList = 0;
/*!
@@ -94,2 +94,7 @@ QStringList FontDatabase::families() const
#else
+
+#ifndef QWS
+ QStringList list;
+ return list;
+#else
QStringList list;
@@ -117,2 +122,3 @@ QStringList FontDatabase::families() const
#endif
+#endif
}
@@ -146,2 +152,6 @@ void FontDatabase::loadRenderers()
{
+#ifndef QWS
+ return;
+#else
+
#ifndef QT_NO_COMPONENT
@@ -185,2 +195,3 @@ void FontDatabase::loadRenderers()
#endif
+#endif
}
@@ -192,2 +203,5 @@ void FontDatabase::readFonts( QFontFactory *factory )
{
+#ifndef QWS
+return;
+#else
// Load in font definition file
@@ -232,2 +246,3 @@ void FontDatabase::readFonts( QFontFactory *factory )
fclose(fontdef);
+#endif
}