diff options
author | Mitch Curtis <mitch.curtis@nokia.com> | 2012-07-23 12:13:32 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-23 19:57:07 +0200 |
commit | c2942cb7b6b8d06ebb8156dc9fb2bda4a4cc7c9e (patch) | |
tree | a3ac0661466c86f7162070e48866b92316583164 /src/corelib/kernel/qvariant.cpp | |
parent | 4d573117c4e82783c82294786e7a6908158173ac (diff) |
Clarify ambiguous sentence in QVariant::toBool() documentation.
Task-number: QTBUG-26482
Change-Id: Id9158ba1f7ffa5af169f808aed4559f7a0470e20
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
-rw-r--r-- | src/corelib/kernel/qvariant.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index db3570f4d7..9b1c444db9 100644 --- a/src/corelib/kernel/qvariant.cpp +++ b/src/corelib/kernel/qvariant.cpp @@ -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() */ |