Clarify ambiguous sentence in QVariant::toBool() documentation.
Task-number: QTBUG-26482 Change-Id: Id9158ba1f7ffa5af169f808aed4559f7a0470e20 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>bb10
parent
4d573117c4
commit
c2942cb7b6
|
|
@ -2244,8 +2244,8 @@ qulonglong QVariant::toULongLong(bool *ok) const
|
|||
Returns true if the variant has type() \l Bool, \l Char, \l Double,
|
||||
\l Int, \l LongLong, \l UInt, or \l ULongLong and the value is
|
||||
non-zero, or if the variant has type \l String or \l ByteArray and
|
||||
its lower-case content is not empty, "0" or "false"; otherwise
|
||||
returns false.
|
||||
its lower-case content is not one of the following: empty, "0"
|
||||
or "false"; otherwise returns false.
|
||||
|
||||
\sa canConvert(), convert()
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue