summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qpoint.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-04-28 09:16:06 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-04-28 09:16:06 +0000
commita6f7dc521b0491a4e8a163941fedecbfdce26b43 (patch)
tree1b1f7a085ed576892c9c6d7a1e1f0da2d427630d /src/corelib/tools/qpoint.cpp
parent73a48c16189fcc1c1dd783e05c51d47711d554e2 (diff)
parent1c8451bdbbd6ca909dfc5b96a24be909810522fc (diff)
Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev
Diffstat (limited to 'src/corelib/tools/qpoint.cpp')
-rw-r--r--src/corelib/tools/qpoint.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/corelib/tools/qpoint.cpp b/src/corelib/tools/qpoint.cpp
index dc2a2d9739..94a245375b 100644
--- a/src/corelib/tools/qpoint.cpp
+++ b/src/corelib/tools/qpoint.cpp
@@ -528,12 +528,8 @@ QDebug operator<<(QDebug dbg, const QPointF &p)
/*!
\fn bool QPointF::isNull() const
- Returns \c true if both the x and y coordinates are set to +0.0;
- otherwise returns \c false.
-
- \note Since this function treats +0.0 and -0.0 differently, points
- with zero-valued coordinates where either or both values have a
- negative sign are not defined to be null points.
+ Returns \c true if both the x and y coordinates are set to 0.0 (ignoring
+ the sign); otherwise returns \c false.
*/