author | zautrix <zautrix> | 2004-11-06 23:30:02 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-11-06 23:30:02 (UTC) |
commit | 023e0e82dd8bf6421d12492a2dd25534fc43ad31 (patch) (side-by-side diff) | |
tree | cf0533e3ccc642cb57a41953f184f457fa5365ba /kmicromail/koprefs.cpp | |
parent | f8841c92d5251f713eb7a025af8fdee52de45b3d (diff) | |
download | kdepimpi-023e0e82dd8bf6421d12492a2dd25534fc43ad31.zip kdepimpi-023e0e82dd8bf6421d12492a2dd25534fc43ad31.tar.gz kdepimpi-023e0e82dd8bf6421d12492a2dd25534fc43ad31.tar.bz2 |
many ompi fixes
-rw-r--r-- | kmicromail/koprefs.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kmicromail/koprefs.cpp b/kmicromail/koprefs.cpp index 8143b6f..342bbf3 100644 --- a/kmicromail/koprefs.cpp +++ b/kmicromail/koprefs.cpp @@ -59,2 +59,3 @@ KOPrefs::KOPrefs() : KPrefs::setCurrentGroup("General"); + addItemString("SendCodec",&mSendCodec,i18n ("userdefined") ); addItemString("SenderName",&mName,i18n ("Please set at") ); @@ -64,2 +65,3 @@ KOPrefs::KOPrefs() : addItemBool("UseKapi",&mUseKapi,false); + addItemInt("CurrentCodec",&mCurrentCodec,0); @@ -70,3 +72,3 @@ KOPrefs::KOPrefs() : fillMailDefaults(); - + isDirty = false; } @@ -76,2 +78,4 @@ KOPrefs::~KOPrefs() { + if ( isDirty ) + writeConfig(); if (mInstance == this) @@ -112,3 +116,2 @@ void KOPrefs::usrWriteConfig() { - KPimPrefs::usrWriteConfig(); |