Refine QLocale constructor documentation

Fix a typo and swap two sentences to give a clearer reading.

Pick-to: 6.2
Change-Id: I4a24ad5ba2e022edd121eb686de3638af2c242a6
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Edward Welbourne 2021-08-23 13:12:01 +02:00
parent b656cea5de
commit f98d9aa9da

View File

@ -934,11 +934,11 @@ QLocale::QLocale(QLocalePrivate &dd)
\endlist
The separator can be either underscore \c{'_'} (U+005F, "low line") or a
dash \c{'-'} (U+002D, "hyphen-minus"). If the string violates the locale
dash \c{'-'} (U+002D, "hyphen-minus"). If QLocale has no data for the
specified combination of language, script, and territory, then it uses the
most suitable match it can find instead. If the string violates the locale
format, or no suitable data can be found for the specified keys, the "C"
locale is used instead. If QLocale has no data for the specified combination
of language, script and territory, the it uses most suitable match it can
find instead.
locale is used instead.
This constructor is much slower than QLocale(Language, Script, Territory) or
QLocale(Language, Territory).