From 57f95bb15f732ede3ddc68b077b6a5476246e971 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 28 Mar 2005 18:09:29 +0000 Subject: filter utf8 fix --- 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) CalFilter *filter; filter = new CalFilter(*it); - config->setGroup("Filter_" + (*it)); + config->setGroup("Filter_" + (*it).utf8()); //qDebug("readFilterSettings %d ",config->readNumEntry("Criteria",0) ); filter->setCriteria(config->readNumEntry("Criteria",0)); filter->setCategoryList(config->readListEntry("CategoryList")); @@ -2075,7 +2075,7 @@ void CalendarView::writeFilterSettings(KConfig *config) while(filter) { // kdDebug() << " fn: " << filter->name() << endl; filterList << filter->name(); - config->setGroup("Filter_" + filter->name()); + config->setGroup("Filter_" + filter->name().utf8()); config->writeEntry("Criteria",filter->criteria()); config->writeEntry("CategoryList",filter->categoryList()); filter = mFilters.next(); -- cgit v0.9.0.2