summaryrefslogtreecommitdiffabout
path: root/kmicromail/koprefs.cpp
Unidiff
Diffstat (limited to 'kmicromail/koprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/koprefs.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/kmicromail/koprefs.cpp b/kmicromail/koprefs.cpp
index 7b1e169..e4b61dc 100644
--- a/kmicromail/koprefs.cpp
+++ b/kmicromail/koprefs.cpp
@@ -41,6 +41,7 @@
41#include <kdebug.h> 41#include <kdebug.h>
42#include <kemailsettings.h> 42#include <kemailsettings.h>
43#include <kstaticdeleter.h> 43#include <kstaticdeleter.h>
44#include <kglobalsettings.h>
44 45
45#include "koprefs.h" 46#include "koprefs.h"
46#include "mainwindow.h" 47#include "mainwindow.h"
@@ -52,10 +53,6 @@ static KStaticDeleter<KOPrefs> insd;
52KOPrefs::KOPrefs() : 53KOPrefs::KOPrefs() :
53 KPimPrefs("kopiemailrc") 54 KPimPrefs("kopiemailrc")
54{ 55{
55 mAppFont = QFont("helvetica",12);
56 mComposeFont = QFont("helvetica",12);
57 mReadFont = QFont("helvetica",12);
58
59 KPrefs::setCurrentGroup("General"); 56 KPrefs::setCurrentGroup("General");
60 addItemString("SendCodec",&mSendCodec,i18n ("userdefined") ); 57 addItemString("SendCodec",&mSendCodec,i18n ("userdefined") );
61 addItemString("SenderName",&mName,i18n ("Please set at") ); 58 addItemString("SenderName",&mName,i18n ("Please set at") );
@@ -70,9 +67,9 @@ KOPrefs::KOPrefs() :
70 addItemBool("ShowInfoTo",&mShowInfoTo,true); 67 addItemBool("ShowInfoTo",&mShowInfoTo,true);
71 addItemBool("ShowInfoStart",&mShowInfoStart,true); 68 addItemBool("ShowInfoStart",&mShowInfoStart,true);
72 KPrefs::setCurrentGroup("Fonts"); 69 KPrefs::setCurrentGroup("Fonts");
73 addItemFont("Application Font",&mAppFont); 70 addItemFont("Application Font",&mAppFont,KGlobalSettings::generalFont());
74 addItemFont("Compose Font",&mComposeFont); 71 addItemFont("Compose Font",&mComposeFont,KGlobalSettings::generalFont());
75 addItemFont("Read Font",&mReadFont); 72 addItemFont("Read Font",&mReadFont,KGlobalSettings::generalFont());
76 fillMailDefaults(); 73 fillMailDefaults();
77 isDirty = false; 74 isDirty = false;
78} 75}