summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-04-01 14:37:14 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-04-01 14:37:14 (GMT)
commit80293b874047c028e47d91d33c2afe157d9e6785 (patch)
treea9be8a94b5f462dcb7ee7dcd7356001d32377e2c
parent23174985c19c61fbce412965ecc1ba49c1cb5582 (diff)
downloadQt-80293b874047c028e47d91d33c2afe157d9e6785.zip
Qt-80293b874047c028e47d91d33c2afe157d9e6785.tar.gz
Qt-80293b874047c028e47d91d33c2afe157d9e6785.tar.bz2
Doc: Trivial fixes.
Reviewed-by: TrustMe
-rw-r--r--src/corelib/global/qglobal.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index 1645279..8324d05 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -2944,12 +2944,12 @@ bool QInternal::callFunction(InternalFunction func, void **args)
Compares the floating point value \a p1 and \a p2 and
returns \c true if they are considered equal, otherwise \c false.
-
+
Note that comparing values where either \a p1 or \a p2 is 0.0 will not work.
- The solution to this is to compare against values greater than or equal to 1.0
-
+ The solution to this is to compare against values greater than or equal to 1.0.
+
\snippet doc/src/snippets/code/src_corelib_global_qglobal.cpp 46
-
+
The two numbers are compared in a relative way, where the
exactness is stronger the smaller the numbers are.
*/