summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp4
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)
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();