summaryrefslogtreecommitdiffstats
path: root/korganizer/koprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koprefs.cpp')
-rw-r--r--korganizer/koprefs.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index a44aaf6e8..3e4d78dda 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -92,6 +92,8 @@ KOPrefs::KOPrefs() :
// Load it now, not deep within some painting code
mMyAddrBookMails = KABC::StdAddressBook::self()->whoAmI().emails();
+
+ mAlarmsEnabledByDefault = false;
}
@@ -211,6 +213,9 @@ void KOPrefs::usrReadConfig()
setTimeZoneIdDefault();
}
+ config()->setGroup("Event Dialogs");
+ mAlarmsEnabledByDefault = config()->readBoolEntry( "Alarm Enabled By Default" );
+
#if 0
config()->setGroup("FreeBusy");
if( mRememberRetrievePw )
@@ -251,6 +256,9 @@ void KOPrefs::usrWriteConfig()
i->writeConfig( config() );
}
+ config()->setGroup("Event Dialogs");
+ config()->writeEntry( "Alarm Enabled By Default", mAlarmsEnabledByDefault );
+
#if 0
if( mRememberRetrievePw )
config()->writeEntry( "Retrieve Server Password", KStringHandler::obscure( mRetrievePassword ) );