Correct QLocale(const QString &) documentation.

Change-Id: I6430ff2636083204fa12437980626260f848e269
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
bb10
Mitch Curtis 2013-03-04 10:47:01 +01:00 committed by The Qt Project
parent 3f5633bc25
commit a8c6708260
1 changed files with 2 additions and 2 deletions

View File

@ -736,13 +736,13 @@ QLocale::QLocale(QLocalePrivate &dd)
The separator can be either underscore or a minus sign.
If the string violates the locale format, or language is not
a valid ISO 369 code, the "C" locale is used instead. If country
a valid ISO 639 code, the "C" locale is used instead. If country
is not present, or is not a valid ISO 3166 code, the most
appropriate country is chosen for the specified language.
The language, script and country codes are converted to their respective
\c Language, \c Script and \c Country enums. After this conversion is
performed the constructor behaves exactly like QLocale(Country, Script,
performed, the constructor behaves exactly like QLocale(Country, Script,
Language).
This constructor is much slower than QLocale(Country, Script, Language).