summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-07-06 09:52:24 (UTC)
committer zautrix <zautrix>2005-07-06 09:52:24 (UTC)
commit3b77a857e17e04e47d22ba6017dd723ed922e3fc (patch) (side-by-side diff)
tree0ce40d3e6480ae4016e3f2e464c3180be96bdd27 /korganizer
parent4ac63cce98fabb59a47970baa2906b2fe8d0f2b0 (diff)
downloadkdepimpi-3b77a857e17e04e47d22ba6017dd723ed922e3fc.zip
kdepimpi-3b77a857e17e04e47d22ba6017dd723ed922e3fc.tar.gz
kdepimpi-3b77a857e17e04e47d22ba6017dd723ed922e3fc.tar.bz2
fixx
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koprefs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index f1f1442..138028d 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -532,24 +532,26 @@ void KOPrefs::usrWriteConfig()
config()->setGroup("Personal Settings");
config()->writeEntry("user_name",mName);
config()->writeEntry("user_email",mEmail);
config()->setGroup("Category Colors");
QDictIterator<QColor> it(mCategoryColors);
while (it.current()) {
config()->writeEntry(it.currentKey(),*(it.current()));
++it;
}
KConfig fc (locateLocal("config","kopicalendarrc"));
fc.setGroup("CC");
+ fc.deleteGroup( "CC");
+ fc.setGroup("CC");
fc.writeEntry("NumberCalendars",mCalendars.count());
int numCal = 1;
int writeCal = 0;
while ( numCal < mNextAvailableCalendar ) {
KopiCalendarFile * kkf = mCalendars.first();
while ( kkf ) {
//qDebug("cal num %d %d ", kkf->mCalNumber, numCal);
if ( kkf->mCalNumber == numCal ) {
++writeCal;
//qDebug("Write calendar %d %d ", numCal , writeCal);
QString prefix = "Cal_" + QString::number( writeCal );
fc.writeEntry( prefix+"_isStandard", kkf->isStandard );