-rw-r--r-- | libkdepim/kpimglobalprefs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp index e8fd2d1..81e3cb1 100644 --- a/libkdepim/kpimglobalprefs.cpp +++ b/libkdepim/kpimglobalprefs.cpp @@ -153,8 +153,11 @@ void KPimGlobalPrefs::setGlobalConfig() et = line.findRev("\"",-1); ee = line.find("\",\""); st = ee+3; we = line.mid( se, ee-se ); + if ( mPreferredLanguage == 4 ) + wt = QString::fromUtf8(line.mid( st, et-st ).latin1()); + else wt = line.mid( st, et-st ); //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); mLocaleDict->insert( we, new QString (wt) ); nbr = text.find ( "}", br ); |