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
@@ -151,13 +151,13 @@ bool KConfig::readBoolEntry( const QString &key, bool def )
}
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;
else
return QColor();
}
@@ -235,13 +235,13 @@ void KConfig::writeEntry( const QString &key, bool value)
void KConfig::writeEntry( const QString & e, const QColor & c )
{
QStringList l;
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 )
{
QValueList<int> intlist;
intlist << s.width() << s.height();