Bug 640504 - Qt-Fennec, Language Code is not read correctly from System. r=romaxa a=npodb

--HG--
extra : rebase_source : edf1a936353e919926050d2ffed5d3024ff3c143
This commit is contained in:
Jeremias Bosch 2011-03-15 13:30:34 -07:00
parent 6c908952c9
commit 605c83f4a3

View File

@ -182,7 +182,7 @@ nsLocaleService::nsLocaleService(void)
#ifdef MOZ_WIDGET_QT
const char* lang = QLocale::languageToString(QLocale::system().language()).toAscii();
const char* lang = QLocale::system().name().toAscii();
#else
// Get system configuration
const char* lang = getenv("LANG");