summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/text/qlocale.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp
index 59dd3c589d..035e2c4724 100644
--- a/src/corelib/text/qlocale.cpp
+++ b/src/corelib/text/qlocale.cpp
@@ -940,7 +940,8 @@ QLocale::QLocale(QLocalePrivate &dd)
\li and codeset and modifier are ignored.
\endlist
- The separator can be either underscore or a minus sign.
+ 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 format, or language is not
a valid ISO 639 code, the "C" locale is used instead. If country