diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2021-07-28 19:19:42 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-08-10 13:21:27 +0000 |
commit | 2ca7830f50dbcf1d712f804d47eb809dd5ae2a3e (patch) | |
tree | d5fddd55e8148689cc701351c74626db7fab182e /src/corelib/text | |
parent | c4278a59d3b96f4f2e574a7d2c73eeab99d34f5d (diff) |
QString/QByteArray: Fix setNum docs and add tests
Amends 260168d9d7547a2e7586bff6cb42e11d54c9d06e
Task-number: QTBUG-53706
Change-Id: I01c8cdc6a3cb46ec8e49e15ad71b6d707c0d272f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 9b860ece42e4012821b7e2140f363dbe3e256062)
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/text')
-rw-r--r-- | src/corelib/text/qstring.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index dff1868742..d8dbc621d8 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -7175,8 +7175,7 @@ float QString::toFloat(bool *ok) const Sets the string to the printed value of \a n in the specified \a base, and returns a reference to the string. - The base is 10 by default and must be between 2 and 36. For bases - other than 10, \a n is treated as an unsigned integer. + The base is 10 by default and must be between 2 and 36. \snippet qstring/main.cpp 56 |