From 5fb1e954dd606d0c8b2bd88ff50dcc3284fa09b6 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 07 Feb 2005 14:16:32 +0000 Subject: utf8 fix --- (limited to 'microkde/kconfig.cpp') diff --git a/microkde/kconfig.cpp b/microkde/kconfig.cpp index 862166d..b9cf2f1 100644 --- a/microkde/kconfig.cpp +++ b/microkde/kconfig.cpp @@ -154,7 +154,7 @@ QColor KConfig::readColorEntry( const QString & e, QColor *def ) { QStringList l; - l = readListEntry( e ); + l = readListEntry( e.utf8() ); if (l.count() != 3 ) { if ( def ) return *def; @@ -238,7 +238,7 @@ void KConfig::writeEntry( const QString & e, const QColor & c ) l.append( QString::number ( c.red() ) ); l.append( QString::number ( c.green() ) ); l.append( QString::number ( c.blue() ) ); - writeEntry( e, l ); + writeEntry( e.utf8(), l ); } void KConfig::writeEntry( const QString & e, const QSize & s ) -- cgit v0.9.0.2