author | zautrix <zautrix> | 2005-01-30 21:39:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-30 21:39:03 (UTC) |
commit | 6dbf4f4a6666e7a94c68517df1659eb14cd104b9 (patch) (unidiff) | |
tree | b98e130d6d0d6205655cf1a6e28074c0c38011d1 /libkdepim/kpimglobalprefs.cpp | |
parent | 15c5772f8a54750115f82aea34fea47e5842ff4f (diff) | |
download | kdepimpi-6dbf4f4a6666e7a94c68517df1659eb14cd104b9.zip kdepimpi-6dbf4f4a6666e7a94c68517df1659eb14cd104b9.tar.gz kdepimpi-6dbf4f4a6666e7a94c68517df1659eb14cd104b9.tar.bz2 |
fixes
-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 | |||
@@ -154,6 +154,9 @@ 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 | if ( mPreferredLanguage == 4 ) | ||
158 | wt = QString::fromUtf8(line.mid( st, et-st ).latin1()); | ||
159 | else | ||
157 | wt = line.mid( st, et-st ); | 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) ); |