author | zautrix <zautrix> | 2005-02-08 18:29:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-08 18:29:59 (UTC) |
commit | 2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6 (patch) (side-by-side diff) | |
tree | 733f50ad5513065fe407fa341948172aae893b52 /kmicromail/koprefs.cpp | |
parent | 126b79abd88bb13ab41c4d987ee759eb9ba7d483 (diff) | |
download | kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.zip kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.gz kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.bz2 |
font fix
-rw-r--r-- | kmicromail/koprefs.cpp | 11 |
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 @@ -38,27 +38,24 @@ #include <kglobal.h> #include <kconfig.h> #include <klocale.h> #include <kdebug.h> #include <kemailsettings.h> #include <kstaticdeleter.h> +#include <kglobalsettings.h> #include "koprefs.h" #include "mainwindow.h" KOPrefs *KOPrefs::mInstance = 0; static KStaticDeleter<KOPrefs> insd; KOPrefs::KOPrefs() : KPimPrefs("kopiemailrc") { - mAppFont = QFont("helvetica",12); - mComposeFont = QFont("helvetica",12); - mReadFont = QFont("helvetica",12); - KPrefs::setCurrentGroup("General"); addItemString("SendCodec",&mSendCodec,i18n ("userdefined") ); addItemString("SenderName",&mName,i18n ("Please set at") ); addItemString("SenderEmail",&mEmail,i18n ("Settings@General TAB") ); addItemBool("ViewMailAsHtml",&mViewAsHtml,false); addItemBool("SendMailLater",&mSendLater,true); @@ -67,15 +64,15 @@ KOPrefs::KOPrefs() : addItemInt("CurrentCodec",&mCurrentCodec,0); addItemBool("ShowInfoSub",&mShowInfoSub,true); addItemBool("ShowInfoFrom",&mShowInfoFrom,true); addItemBool("ShowInfoTo",&mShowInfoTo,true); addItemBool("ShowInfoStart",&mShowInfoStart,true); KPrefs::setCurrentGroup("Fonts"); - addItemFont("Application Font",&mAppFont); - addItemFont("Compose Font",&mComposeFont); - addItemFont("Read Font",&mReadFont); + addItemFont("Application Font",&mAppFont,KGlobalSettings::generalFont()); + addItemFont("Compose Font",&mComposeFont,KGlobalSettings::generalFont()); + addItemFont("Read Font",&mReadFont,KGlobalSettings::generalFont()); fillMailDefaults(); isDirty = false; } KOPrefs::~KOPrefs() |