summaryrefslogtreecommitdiffabout
path: root/korganizer
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 /korganizer
parent435d67be852dc98b460bd3123a2164131db82334 (diff)
downloadkdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.zip
kdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.tar.gz
kdepimpi-57f95bb15f732ede3ddc68b077b6a5476246e971.tar.bz2
filter utf8 fix
Diffstat (limited to 'korganizer') (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
@@ -2038,13 +2038,13 @@ void CalendarView::readFilterSettings(KConfig *config)
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;
@@ -2072,13 +2072,13 @@ void CalendarView::writeFilterSettings(KConfig *config)
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);