projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d57311
)
Clarify ambiguous sentence in QVariant::toBool() documentation.
author
Mitch Curtis
<mitch.curtis@nokia.com>
Mon, 23 Jul 2012 10:13:32 +0000
(12:13 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Mon, 23 Jul 2012 17:57:07 +0000
(19:57 +0200)
Task-number: QTBUG-26482
Change-Id: Id9158ba1f7ffa5af169f808aed4559f7a0470e20
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/corelib/kernel/qvariant.cpp
patch
|
blob
|
history
diff --git
a/src/corelib/kernel/qvariant.cpp
b/src/corelib/kernel/qvariant.cpp
index
db3570f
..
9b1c444
100644
(file)
--- 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()
*/