summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstring.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-11-10 11:42:02 +0100
committerOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-11-10 11:45:49 +0100
commit0d02a06517f29c5b51fb2d3ac64a5e6d9daed5a9 (patch)
tree3426504f004cbd2fffaceec24678bb16e9abfe37 /src/corelib/tools/qstring.cpp
parentd7a5dc0cfdae2fb22b7061301575f04f2bcc3f1c (diff)
parentba73bde66efa588a74eaaa946e80e9de2b9e2d59 (diff)
Merge remote-tracking branch 'origin/5.4' into 5.4.0
Diffstat (limited to 'src/corelib/tools/qstring.cpp')
-rw-r--r--src/corelib/tools/qstring.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp
index 71ca4239d05..ef12c1b8e30 100644
--- a/src/corelib/tools/qstring.cpp
+++ b/src/corelib/tools/qstring.cpp
@@ -6336,8 +6336,7 @@ ushort QString::toUShort(bool *ok, int base) const
\snippet qstring/main.cpp 66
- Various string formats for floating point numbers can be converted
- to double values:
+ \warning The QString content may only contain valid numerical characters which includes the plus/minus sign, the characters g and e used in scientific notation, and the decimal point. Including the unit or additional characters leads to a conversion error.
\snippet qstring/main.cpp 67
@@ -6346,7 +6345,7 @@ ushort QString::toUShort(bool *ok, int base) const
\snippet qstring/main.cpp 68
- For historic reasons, this function does not handle
+ For historical reasons, this function does not handle
thousands group separators. If you need to convert such numbers,
use QLocale::toDouble().