summaryrefslogtreecommitdiffabout
path: root/korganizer/koeditorgeneral.cpp
authorzautrix <zautrix>2005-07-04 15:52:09 (UTC)
committer zautrix <zautrix>2005-07-04 15:52:09 (UTC)
commit226171366bc79927988eac10e0bf7fc3f7faea69 (patch) (unidiff)
treefc2aef43c88d35bb4b59002bdfa25f7c45094f91 /korganizer/koeditorgeneral.cpp
parent7221ff029af217ae703e8217333bd9b170203181 (diff)
downloadkdepimpi-226171366bc79927988eac10e0bf7fc3f7faea69.zip
kdepimpi-226171366bc79927988eac10e0bf7fc3f7faea69.tar.gz
kdepimpi-226171366bc79927988eac10e0bf7fc3f7faea69.tar.bz2
fixx
Diffstat (limited to 'korganizer/koeditorgeneral.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditorgeneral.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp
index fd50b05..aa55d82 100644
--- a/korganizer/koeditorgeneral.cpp
+++ b/korganizer/koeditorgeneral.cpp
@@ -483,13 +483,7 @@ void KOEditorGeneral::fillCalCombo( int setToID )
483} 483}
484int KOEditorGeneral::getCalendarID() 484int KOEditorGeneral::getCalendarID()
485{ 485{
486 KopiCalendarFile * kkf = KOPrefs::instance()->mCalendars.first(); 486 return KOPrefs::instance()->getCalendarID( mCalendarBox->currentText() );
487 while ( kkf ) {
488 if ( mCalendarBox->currentText() == kkf->mName)
489 return kkf->mCalNumber;
490 kkf = KOPrefs::instance()->mCalendars.next();
491 }
492 return 1;
493} 487}
494 488
495void KOEditorGeneral::readIncidence(Incidence *event) 489void KOEditorGeneral::readIncidence(Incidence *event)