summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-04-23 07:36:01 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-29 03:27:26 +0200
commit774082e2ee2b9d7f290b84c3a483cc7710bbe8d4 (patch)
tree21f362003b31f597aee3ee1e23de372742dafc4c /src
parenteaffcab287347badbf44e26416f5c2136101e1d2 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qsize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qsize.cpp b/src/corelib/tools/qsize.cpp
index b53eced298..c9a6ffa03a 100644
--- a/src/corelib/tools/qsize.cpp
+++ b/src/corelib/tools/qsize.cpp
@@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE
width and height can be swapped using the transpose() function.
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
than, or equal to, zero, while the isNull() function returns \c true
only if both the width and the height is zero.