summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-04-02 06:15:43 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-04-02 06:15:43 (GMT)
commit6875a078a2d51648d4a60d136c4c3081f9934bb6 (patch)
tree312ee4589aa2ab08a3457e8adbf983c77dd960bc /src/corelib
parent2034996740c51d1231dbfa7af7eb9271541682bb (diff)
parentea66ff84b5eac1846afcaf80b3d24297be0dce8f (diff)
downloadQt-6875a078a2d51648d4a60d136c4c3081f9934bb6.zip
Qt-6875a078a2d51648d4a60d136c4c3081f9934bb6.tar.gz
Qt-6875a078a2d51648d4a60d136c4c3081f9934bb6.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/corelib')
-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 a8207f9..ce98ec4 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.
*/