summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.cpp
Unidiff
Diffstat (limited to 'libkdepim/kpimglobalprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp
index e8fd2d1..81e3cb1 100644
--- a/libkdepim/kpimglobalprefs.cpp
+++ b/libkdepim/kpimglobalprefs.cpp
@@ -154,7 +154,10 @@ void KPimGlobalPrefs::setGlobalConfig()
154 ee = line.find("\",\""); 154 ee = line.find("\",\"");
155 st = ee+3; 155 st = ee+3;
156 we = line.mid( se, ee-se ); 156 we = line.mid( se, ee-se );
157 wt = line.mid( st, et-st ); 157 if ( mPreferredLanguage == 4 )
158 wt = QString::fromUtf8(line.mid( st, et-st ).latin1());
159 else
160 wt = line.mid( st, et-st );
158 //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); 161 //qDebug("*%s* *%s* ", we.latin1(), wt.latin1());
159 mLocaleDict->insert( we, new QString (wt) ); 162 mLocaleDict->insert( we, new QString (wt) );
160 nbr = text.find ( "}", br ); 163 nbr = text.find ( "}", br );