Details
-
Task
-
Resolution: Done
-
P4: Low
-
None
-
None
-
documentation
Description
The documentation for QSize sais in the "Detailed description":
"The isValid() function determines if a size is valid (a valid size has both width and height greater than zero)."
But in the documentation for the isValid() function it sais:
"Returns true if both the width and height is equal to or greater than 0; otherwise returns false."
now in case of QSize(0,40) the first documentation would give isValid()==false, where the second documentation would give isValid()==true.
the second documentation matches the code. please correct the first.
Thanks
Erik
Attachments
For Gerrit Dashboard: QTBUG-38535 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
83955,1 | Doc: QSize::isValid does >= 0 instead of > 0 comparisons | stable | qt/qtbase | Status: MERGED | +2 | 0 |