mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
QLocale::name() should separate language from country with underscore, not dash
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
d008a8e038
commit
68b8f2e29d
1 changed files with 1 additions and 1 deletions
|
@ -844,7 +844,7 @@ QString QLocale::name() const
|
|||
const char *lang = languageTbl[dd->m_language].code;
|
||||
if (dd->m_country != AnyCountry) {
|
||||
const char *country = countryTbl[dd->m_country].code;
|
||||
return QString::fromLatin1(lang) + QLatin1Char('-') + QString::fromLatin1(country);
|
||||
return QString::fromLatin1(lang) + QLatin1Char('_') + QString::fromLatin1(country);
|
||||
}
|
||||
return QString::fromLatin1(lang);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue