summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-03-28 18:09:29 (UTC)
committer zautrix <zautrix>2005-03-28 18:09:29 (UTC)
commit57f95bb15f732ede3ddc68b077b6a5476246e971 (patch) (side-by-side diff)
tree7bb70aab1e8437e5cd3bdb8af7744b31e2852419
parent435d67be852dc98b460bd3123a2164131db82334 (diff)
downloadkdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.zip
kdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.tar.gz
kdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.tar.bz2
filter utf8 fix
Diffstat (more/less context) (ignore 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
@@ -2036,17 +2036,17 @@ void CalendarView::readFilterSettings(KConfig *config)
QStringList::ConstIterator it = filterList.begin();
QStringList::ConstIterator end = filterList.end();
while(it != end) {
// kdDebug() << " filter: " << (*it) << endl;
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"));
mFilters.append(filter);
++it;
}
@@ -2070,17 +2070,17 @@ void CalendarView::writeFilterSettings(KConfig *config)
// kdDebug() << "CalendarView::writeFilterSettings()" << endl;
QStringList filterList;
CalFilter *filter = mFilters.first();
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();
}
config->setGroup("General");
config->writeEntry("CalendarFilters",filterList);
config->setGroup("FilterView");