author | zautrix <zautrix> | 2005-03-28 18:09:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-28 18:09:29 (UTC) |
commit | 57f95bb15f732ede3ddc68b077b6a5476246e971 (patch) (unidiff) | |
tree | 7bb70aab1e8437e5cd3bdb8af7744b31e2852419 | |
parent | 435d67be852dc98b460bd3123a2164131db82334 (diff) | |
download | kdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.zip kdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.tar.gz kdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.tar.bz2 |
filter utf8 fix
-rw-r--r-- | korganizer/calendarview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 0015bd6..1e83236 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -2041,7 +2041,7 @@ void CalendarView::readFilterSettings(KConfig *config) | |||
2041 | 2041 | ||
2042 | CalFilter *filter; | 2042 | CalFilter *filter; |
2043 | filter = new CalFilter(*it); | 2043 | filter = new CalFilter(*it); |
2044 | config->setGroup("Filter_" + (*it)); | 2044 | config->setGroup("Filter_" + (*it).utf8()); |
2045 | //qDebug("readFilterSettings %d ",config->readNumEntry("Criteria",0) ); | 2045 | //qDebug("readFilterSettings %d ",config->readNumEntry("Criteria",0) ); |
2046 | filter->setCriteria(config->readNumEntry("Criteria",0)); | 2046 | filter->setCriteria(config->readNumEntry("Criteria",0)); |
2047 | filter->setCategoryList(config->readListEntry("CategoryList")); | 2047 | filter->setCategoryList(config->readListEntry("CategoryList")); |
@@ -2075,7 +2075,7 @@ void CalendarView::writeFilterSettings(KConfig *config) | |||
2075 | while(filter) { | 2075 | while(filter) { |
2076 | // kdDebug() << " fn: " << filter->name() << endl; | 2076 | // kdDebug() << " fn: " << filter->name() << endl; |
2077 | filterList << filter->name(); | 2077 | filterList << filter->name(); |
2078 | config->setGroup("Filter_" + filter->name()); | 2078 | config->setGroup("Filter_" + filter->name().utf8()); |
2079 | config->writeEntry("Criteria",filter->criteria()); | 2079 | config->writeEntry("Criteria",filter->criteria()); |
2080 | config->writeEntry("CategoryList",filter->categoryList()); | 2080 | config->writeEntry("CategoryList",filter->categoryList()); |
2081 | filter = mFilters.next(); | 2081 | filter = mFilters.next(); |