From 2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6 Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 08 Feb 2005 18:29:59 +0000 Subject: font fix --- (limited to 'kaddressbook/kabprefs.cpp') diff --git a/kaddressbook/kabprefs.cpp b/kaddressbook/kabprefs.cpp index a2095d4..01e84d0 100644 --- a/kaddressbook/kabprefs.cpp +++ b/kaddressbook/kabprefs.cpp @@ -34,6 +34,7 @@ #include #include #include +#include //US#include // defines kdDebug() #include "kabprefs.h" @@ -48,7 +49,6 @@ static KStaticDeleter staticDeleterAB; KABPrefs::KABPrefs() : KPimPrefs("kaddressbookrc") { - mDetailsFont = QFont("helvetica",12); KPrefs::setCurrentGroup( "Views" ); addItemBool( "HonorSingleClick", &mHonorSingleClick, false ); @@ -61,7 +61,7 @@ KABPrefs::KABPrefs() addItemBool("ToolBarHor",&mToolBarHor, true ); addItemBool("ToolBarUp",&mToolBarUp, false ); addItemBool("SearchWithReturn",&mSearchWithReturn, false ); - addItemFont("DetailsFont",&mDetailsFont); + addItemFont("DetailsFont",&mDetailsFont,KGlobalSettings::generalFont()); #endif //KAB_EMBEDDED -- cgit v0.9.0.2