summaryrefslogtreecommitdiffabout
path: root/microkde/kconfig.cpp
Side-by-side diff
Diffstat (limited to 'microkde/kconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kconfig.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/microkde/kconfig.cpp b/microkde/kconfig.cpp
index b9cf2f1..9598274 100644
--- a/microkde/kconfig.cpp
+++ b/microkde/kconfig.cpp
@@ -270,5 +270,5 @@ void KConfig::load()
QFile f( mFileName );
if ( !f.open( IO_ReadOnly ) ) {
- //qDebug("KConfig: could not open file %s ",mFileName.latin1() );
+ qDebug("KConfig: could not open file %s ",mFileName.latin1() );
return;
}
@@ -278,5 +278,5 @@ void KConfig::load()
QTextStream t( &f );
-
+ t.setEncoding( QTextStream::Latin1 );
QString line = t.readLine();
@@ -329,5 +329,5 @@ void KConfig::sync()
QTextStream t( &f );
-
+ t.setEncoding( QTextStream::Latin1 );
QMap<QString,bool>::ConstIterator itBool;
for( itBool = mBoolMap.begin(); itBool != mBoolMap.end(); ++itBool ) {