summaryrefslogtreecommitdiffabout
path: root/kmicromail/koprefs.cpp
authorzautrix <zautrix>2004-11-06 23:30:02 (UTC)
committer zautrix <zautrix>2004-11-06 23:30:02 (UTC)
commit023e0e82dd8bf6421d12492a2dd25534fc43ad31 (patch) (side-by-side diff)
treecf0533e3ccc642cb57a41953f184f457fa5365ba /kmicromail/koprefs.cpp
parentf8841c92d5251f713eb7a025af8fdee52de45b3d (diff)
downloadkdepimpi-023e0e82dd8bf6421d12492a2dd25534fc43ad31.zip
kdepimpi-023e0e82dd8bf6421d12492a2dd25534fc43ad31.tar.gz
kdepimpi-023e0e82dd8bf6421d12492a2dd25534fc43ad31.tar.bz2
many ompi fixes
Diffstat (limited to 'kmicromail/koprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/koprefs.cpp7
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();