-rw-r--r-- | library/fontdatabase.cpp | 17 |
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 ) | |||
54 | 54 | ||
55 | QValueList<FontFactory> *FontDatabase::factoryList = 0; | ||
56 | 55 | ||
56 | QValueList<FontFactory> *FontDatabase::factoryList = 0; | ||
57 | /*! | 57 | /*! |
@@ -94,2 +94,7 @@ QStringList FontDatabase::families() const | |||
94 | #else | 94 | #else |
95 | |||
96 | #ifndef QWS | ||
97 | QStringList list; | ||
98 | return list; | ||
99 | #else | ||
95 | QStringList list; | 100 | QStringList list; |
@@ -117,2 +122,3 @@ QStringList FontDatabase::families() const | |||
117 | #endif | 122 | #endif |
123 | #endif | ||
118 | } | 124 | } |
@@ -146,2 +152,6 @@ void FontDatabase::loadRenderers() | |||
146 | { | 152 | { |
153 | #ifndef QWS | ||
154 | return; | ||
155 | #else | ||
156 | |||
147 | #ifndef QT_NO_COMPONENT | 157 | #ifndef QT_NO_COMPONENT |
@@ -185,2 +195,3 @@ void FontDatabase::loadRenderers() | |||
185 | #endif | 195 | #endif |
196 | #endif | ||
186 | } | 197 | } |
@@ -192,2 +203,5 @@ void FontDatabase::readFonts( QFontFactory *factory ) | |||
192 | { | 203 | { |
204 | #ifndef QWS | ||
205 | return; | ||
206 | #else | ||
193 | // Load in font definition file | 207 | // Load in font definition file |
@@ -232,2 +246,3 @@ void FontDatabase::readFonts( QFontFactory *factory ) | |||
232 | fclose(fontdef); | 246 | fclose(fontdef); |
247 | #endif | ||
233 | } | 248 | } |