Doc: QSize::isValid does >= 0 instead of > 0 comparisons
The member function documentation was correct, just the class description was off. Task-number: QTBUG-38535 Change-Id: I55dded9d5ea79d93ce4984911acbeec8bbe6884a Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
eaffcab287
commit
774082e2ee
@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
width and height can be swapped using the transpose() function.
|
width and height can be swapped using the transpose() function.
|
||||||
|
|
||||||
The isValid() function determines if a size is valid (a valid size
|
The isValid() function determines if a size is valid (a valid size
|
||||||
has both width and height greater than zero). The isEmpty()
|
has both width and height greater than or equal to zero). The isEmpty()
|
||||||
function returns \c true if either of the width and height is less
|
function returns \c true if either of the width and height is less
|
||||||
than, or equal to, zero, while the isNull() function returns \c true
|
than, or equal to, zero, while the isNull() function returns \c true
|
||||||
only if both the width and the height is zero.
|
only if both the width and the height is zero.
|
||||||
|
Loading…
Reference in New Issue
Block a user