af7e756155
Currently QLocale::c().bcp47Name() returns "C" which, according to [BCP47], is not a valid language tag. In particular it does not conform to the ABNF grammar in section 2.1 which specifies a minimum length of 2 characters for all language tags. [BCP47]: https://tools.ietf.org/html/bcp47 This patch changes the return value to "en" seeing as the documentation for QLocale::Language states that the C language is identical in behavior to English. Task-number: QTBUG-61949 Change-Id: I2a381def8fb7156467e01d105da92bb1f4821204 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> |
||
---|---|---|
.. | ||
collections | ||
qalgorithms | ||
qarraydata | ||
qarraydata_strictiterators | ||
qbitarray | ||
qbytearray | ||
qbytearraylist | ||
qbytearraymatcher | ||
qbytedatabuffer | ||
qcache | ||
qchar | ||
qcollator | ||
qcommandlineparser | ||
qcontiguouscache | ||
qcryptographichash | ||
qdate | ||
qdatetime | ||
qeasingcurve | ||
qexplicitlyshareddatapointer | ||
qfreelist | ||
qhash | ||
qhash_strictiterators | ||
qhashfunctions | ||
qlatin1string | ||
qline | ||
qlinkedlist | ||
qlist | ||
qlist_strictiterators | ||
qlocale | ||
qmap | ||
qmap_strictiterators | ||
qmargins | ||
qmessageauthenticationcode | ||
qpair | ||
qpoint | ||
qpointf | ||
qqueue | ||
qrect | ||
qregexp | ||
qregularexpression | ||
qringbuffer | ||
qscopedpointer | ||
qscopedvaluerollback | ||
qset | ||
qsharedpointer | ||
qsize | ||
qsizef | ||
qstl | ||
qstring | ||
qstring_no_cast_from_bytearray | ||
qstringapisymmetry | ||
qstringbuilder | ||
qstringiterator | ||
qstringlist | ||
qstringmatcher | ||
qstringref | ||
qtextboundaryfinder | ||
qtime | ||
qtimeline | ||
qtimezone | ||
qvarlengtharray | ||
qvector | ||
qvector_strictiterators | ||
qversionnumber | ||
tools.pro |