summaryrefslogtreecommitdiffabout
path: root/korganizer/koprefs.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koprefs.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index 179f586..bc6aae4 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -443,5 +443,5 @@ void KOPrefs::usrReadConfig()
KopiCalendarFile *kkf = getNewCalendar();
kkf->isStandard = true;
- kkf->mName = i18n("Standard Calendar");
+ kkf->mName = i18n("Standard");
kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" );
}
@@ -459,5 +459,4 @@ void KOPrefs::usrReadConfig()
if ( kkf->mCalNumber == 1 ) {
kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" );
- //kkf->mName = i18n("Standard Calendar");
}
}
@@ -466,4 +465,8 @@ void KOPrefs::usrReadConfig()
}
+KopiCalendarFile * KOPrefs::getCalendar( int num )
+{
+ return mDefCalColors[num-1];
+}
KopiCalendarFile * KOPrefs::getNewCalendar()