summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsize.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-11-07 00:00:10 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-11-07 00:00:10 (GMT)
commit9ff56c800aaf7b1e7d2a26b24601936fabfbcc3f (patch)
tree84d3836ef6db244633c569e8c5bc77809416ca9f /src/corelib/tools/qsize.cpp
parent1f7fe30841f6bd3557c9c5d90faeaeb162c4a967 (diff)
parentfe949effc79830f7e40ddd238114dc8e0553291c (diff)
downloadQt-9ff56c800aaf7b1e7d2a26b24601936fabfbcc3f.zip
Qt-9ff56c800aaf7b1e7d2a26b24601936fabfbcc3f.tar.gz
Qt-9ff56c800aaf7b1e7d2a26b24601936fabfbcc3f.tar.bz2
Merge branch 'master-upstream' into master-water
Diffstat (limited to 'src/corelib/tools/qsize.cpp')
-rw-r--r--src/corelib/tools/qsize.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/tools/qsize.cpp b/src/corelib/tools/qsize.cpp
index 20ac344..12287ab 100644
--- a/src/corelib/tools/qsize.cpp
+++ b/src/corelib/tools/qsize.cpp
@@ -492,9 +492,13 @@ QDebug operator<<(QDebug dbg, const QSize &s) {
/*!
\fn bool QSizeF::isNull() const
- Returns true if both the width and height is 0; otherwise returns
+ Returns true if both the width and height are +0.0; otherwise returns
false.
+ \note Since this function treats +0.0 and -0.0 differently, sizes with
+ zero width and height where either or both values have a negative
+ sign are not defined to be null sizes.
+
\sa isValid(), isEmpty()
*/