author | zautrix <zautrix> | 2005-02-08 18:29:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-08 18:29:59 (UTC) |
commit | 2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6 (patch) (unidiff) | |
tree | 733f50ad5513065fe407fa341948172aae893b52 /kaddressbook/kabprefs.cpp | |
parent | 126b79abd88bb13ab41c4d987ee759eb9ba7d483 (diff) | |
download | kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.zip kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.gz kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.bz2 |
font fix
-rw-r--r-- | kaddressbook/kabprefs.cpp | 4 |
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 | |||
@@ -33,8 +33,9 @@ | |||
33 | 33 | ||
34 | #include <kconfig.h> | 34 | #include <kconfig.h> |
35 | #include <klocale.h> | 35 | #include <klocale.h> |
36 | #include <kstaticdeleter.h> | 36 | #include <kstaticdeleter.h> |
37 | #include <kglobalsettings.h> | ||
37 | //US#include <kdebug.h> // defines kdDebug() | 38 | //US#include <kdebug.h> // defines kdDebug() |
38 | 39 | ||
39 | #include "kabprefs.h" | 40 | #include "kabprefs.h" |
40 | 41 | ||
@@ -47,9 +48,8 @@ static KStaticDeleter<KABPrefs> staticDeleterAB; | |||
47 | 48 | ||
48 | KABPrefs::KABPrefs() | 49 | KABPrefs::KABPrefs() |
49 | : KPimPrefs("kaddressbookrc") | 50 | : KPimPrefs("kaddressbookrc") |
50 | { | 51 | { |
51 | mDetailsFont = QFont("helvetica",12); | ||
52 | KPrefs::setCurrentGroup( "Views" ); | 52 | KPrefs::setCurrentGroup( "Views" ); |
53 | addItemBool( "HonorSingleClick", &mHonorSingleClick, false ); | 53 | addItemBool( "HonorSingleClick", &mHonorSingleClick, false ); |
54 | 54 | ||
55 | KPrefs::setCurrentGroup( "General" ); | 55 | KPrefs::setCurrentGroup( "General" ); |
@@ -60,9 +60,9 @@ KABPrefs::KABPrefs() | |||
60 | addItemBool("AskForQuit",&mAskForQuit,true); | 60 | addItemBool("AskForQuit",&mAskForQuit,true); |
61 | addItemBool("ToolBarHor",&mToolBarHor, true ); | 61 | addItemBool("ToolBarHor",&mToolBarHor, true ); |
62 | addItemBool("ToolBarUp",&mToolBarUp, false ); | 62 | addItemBool("ToolBarUp",&mToolBarUp, false ); |
63 | addItemBool("SearchWithReturn",&mSearchWithReturn, false ); | 63 | addItemBool("SearchWithReturn",&mSearchWithReturn, false ); |
64 | addItemFont("DetailsFont",&mDetailsFont); | 64 | addItemFont("DetailsFont",&mDetailsFont,KGlobalSettings::generalFont()); |
65 | 65 | ||
66 | 66 | ||
67 | #endif //KAB_EMBEDDED | 67 | #endif //KAB_EMBEDDED |
68 | 68 | ||