summaryrefslogtreecommitdiffabout
path: root/kaddressbook
Side-by-side diff
Diffstat (limited to 'kaddressbook') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/kabprefs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/kabprefs.cpp b/kaddressbook/kabprefs.cpp
index a2095d4..01e84d0 100644
--- a/kaddressbook/kabprefs.cpp
+++ b/kaddressbook/kabprefs.cpp
@@ -35,4 +35,5 @@
#include <klocale.h>
#include <kstaticdeleter.h>
+#include <kglobalsettings.h>
//US#include <kdebug.h> // defines kdDebug()
@@ -49,5 +50,4 @@ KABPrefs::KABPrefs()
: KPimPrefs("kaddressbookrc")
{
- mDetailsFont = QFont("helvetica",12);
KPrefs::setCurrentGroup( "Views" );
addItemBool( "HonorSingleClick", &mHonorSingleClick, false );
@@ -62,5 +62,5 @@ KABPrefs::KABPrefs()
addItemBool("ToolBarUp",&mToolBarUp, false );
addItemBool("SearchWithReturn",&mSearchWithReturn, false );
- addItemFont("DetailsFont",&mDetailsFont);
+ addItemFont("DetailsFont",&mDetailsFont,KGlobalSettings::generalFont());