Diffstat (limited to 'libkdepim/ksyncprefsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/ksyncprefsdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdepim/ksyncprefsdialog.cpp b/libkdepim/ksyncprefsdialog.cpp index 6e42fd4..2101bbb 100644 --- a/libkdepim/ksyncprefsdialog.cpp +++ b/libkdepim/ksyncprefsdialog.cpp | |||
@@ -363,4 +363,2 @@ void KSyncPrefsDialog::setupSyncAlgTab() | |||
363 | 363 | ||
364 | |||
365 | |||
366 | void KSyncPrefsDialog::readFilter() | 364 | void KSyncPrefsDialog::readFilter() |
@@ -369,4 +367,2 @@ void KSyncPrefsDialog::readFilter() | |||
369 | mFilterKopi.clear(); | 367 | mFilterKopi.clear(); |
370 | mFilterKopi.append(i18n("No Filter") ); | ||
371 | mFilterKapi.append(i18n("No Filter") ); | ||
372 | KConfig cfgko(locateLocal("config","korganizerrc")); | 368 | KConfig cfgko(locateLocal("config","korganizerrc")); |
@@ -375,3 +371,8 @@ void KSyncPrefsDialog::readFilter() | |||
375 | mFilterKopi = cfgko.readListEntry("CalendarFilters"); | 371 | mFilterKopi = cfgko.readListEntry("CalendarFilters"); |
376 | mFilterKapi = mFilterKopi; | 372 | cfgka.setGroup("Filter"); |
373 | int count = cfgka.readNumEntry( "Count", 0 ); | ||
374 | for ( int i = 0; i < count; i++ ) { | ||
375 | cfgka.setGroup("Filter_"+QString::number( i ) ); | ||
376 | mFilterKapi.append( cfgka.readEntry("Name", "internal error") ); | ||
377 | } | ||
377 | mFilterOutCal->clear(); | 378 | mFilterOutCal->clear(); |
@@ -390,3 +391,2 @@ void KSyncPrefsDialog::readFilter() | |||
390 | 391 | ||
391 | |||
392 | void KSyncPrefsDialog::slotOK() | 392 | void KSyncPrefsDialog::slotOK() |