From: Mitch Curtis Date: Mon, 23 Jul 2012 10:13:32 +0000 (+0200) Subject: Clarify ambiguous sentence in QVariant::toBool() documentation. X-Git-Tag: v5.0.0-beta1~659 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2942cb7b6b8d06ebb8156dc9fb2bda4a4cc7c9e;p=profile%2Fivi%2Fqtbase.git Clarify ambiguous sentence in QVariant::toBool() documentation. Task-number: QTBUG-26482 Change-Id: Id9158ba1f7ffa5af169f808aed4559f7a0470e20 Reviewed-by: Casper van Donderen --- diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index db3570f..9b1c444 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() */