diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/text/qlocale.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp index 8b4e60f2ca..59dd3c589d 100644 --- a/src/corelib/text/qlocale.cpp +++ b/src/corelib/text/qlocale.cpp @@ -359,10 +359,8 @@ QByteArray QLocalePrivate::rawName(char separator) const return parts.join(separator); } - -static const QLocaleData *findLocaleDataById(const QLocaleId &lid) +static const QLocaleData *findLocaleDataById(const QLocaleId &localeId) { - QLocaleId localeId = lid.withLikelySubtagsAdded(); const uint idx = locale_index[localeId.language_id]; if (idx == 0) // default language has no associated script or country return locale_data; |