summaryrefslogtreecommitdiff
path: root/library/qpeapplication.cpp
authorzecke <zecke>2004-07-12 20:01:26 (UTC)
committer zecke <zecke>2004-07-12 20:01:26 (UTC)
commit5d2ec2e9b1dce49e914c260fe16a82ddccbaa92d (patch) (side-by-side diff)
treecbac9fa8c94900e3486c3251206bdc22028b4a66 /library/qpeapplication.cpp
parente18cb7bddb3461a40ae1e8810ef408ceef101d38 (diff)
downloadopie-5d2ec2e9b1dce49e914c260fe16a82ddccbaa92d.zip
opie-5d2ec2e9b1dce49e914c260fe16a82ddccbaa92d.tar.gz
opie-5d2ec2e9b1dce49e914c260fe16a82ddccbaa92d.tar.bz2
Query for FontFactories which implement the FontFactoryInterface on
QPEApplication creation. Also update the comment in the API docu as now FontFactories are loaded
Diffstat (limited to 'library/qpeapplication.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp8
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