diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-23 13:12:01 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-09-01 11:27:42 +0200 |
commit | f98d9aa9da1f858cd499d7d6687fc137f40939f7 (patch) | |
tree | 96583f12e1fe4ee37d750bc2af3b7c7f4dec6811 /src/corelib/text/qlocale.cpp | |
parent | b656cea5deccab352b7c4c56d7023f5108578654 (diff) |
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>
Diffstat (limited to 'src/corelib/text/qlocale.cpp')
-rw-r--r-- | src/corelib/text/qlocale.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp index 4efa210c7b..bc32dfeaaa 100644 --- a/src/corelib/text/qlocale.cpp +++ b/src/corelib/text/qlocale.cpp @@ -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). |