mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
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:
parent
6c908952c9
commit
605c83f4a3
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user