From 1a3970869e87b41d475368e089a656de96a27561 Mon Sep 17 00:00:00 2001 From: sandman Date: Mon, 24 Jun 2002 22:38:00 +0000 Subject: Default font should be helvetica (compatiblity and looks nicer IMHO) Do not hard-code the encoding, let FontDatabase pick it, when not explicitly specified --- (limited to 'library') diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 1534b0b..87a9739 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -605,10 +605,10 @@ QPEApplication::QPEApplication( int& argc, char **argv, Type t ) else { Config config( "qpe" ); config.setGroup( "Appearance" ); - QString familyStr = config.readEntry( "FontFamily", "fixed" ); + QString familyStr = config.readEntry( "FontFamily", "helvetica" ); QString styleStr = config.readEntry( "FontStyle", "Regular" ); QString sizeStr = config.readEntry( "FontSize", "10" ); - QString charSetStr = config.readEntry( "FontCharSet", "iso10646-1" ); + QString charSetStr = config.readEntry( "FontCharSet", QString::null ); bool ok; int i_size = sizeStr.toInt( &ok, 10 ); FontDatabase fdb; -- cgit v0.9.0.2