From c2942cb7b6b8d06ebb8156dc9fb2bda4a4cc7c9e Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 23 Jul 2012 12:13:32 +0200 Subject: [PATCH] Clarify ambiguous sentence in QVariant::toBool() documentation. Task-number: QTBUG-26482 Change-Id: Id9158ba1f7ffa5af169f808aed4559f7a0470e20 Reviewed-by: Casper van Donderen --- src/corelib/kernel/qvariant.cpp | 4 ++-- 1 file 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() */