summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kconfig.cpp4
1 files changed, 2 insertions, 2 deletions
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 )