-rw-r--r-- | library/qpeapplication.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index b686e2e..f4a7f74 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -82,2 +82,3 @@ #include "fontmanager.h" +#include "fontdatabase.h" #endif @@ -805,3 +806,2 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t ) d->loadImageCodecs(); - int dw = desktop() ->width(); @@ -880,4 +880,6 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t ) #endif - // qwsSetDecoration( new QPEDecoration() ); - +#ifdef Q_WS_QWS + /* load the font renderer factories */ + FontDatabase::loadRenderers(); +#endif #ifndef QT_NO_TRANSLATION |