summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-03-01 14:19:17 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-03-03 20:05:27 +0100
commitc1cbb12e57e24b977b1a5c5be711793d6e67c113 (patch)
tree0edeb069fb01a98fe0960676cc2c96d497929ede
parentfd17eaca8396288f34e89f5f66d2779c42ffc414 (diff)
Doc: fix links to qFuzzyIsNull
The function is in the QtNumeric documentation context. Pick-to: 6.5 6.5.0 Change-Id: Ibc6a8961bc04efd4ab1eb50bb371e6a169d513dc Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--src/corelib/tools/qmargins.cpp2
-rw-r--r--src/testlib/qtestcase.qdoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qmargins.cpp b/src/corelib/tools/qmargins.cpp
index 3cc17b1824..1d2cb7d6e5 100644
--- a/src/corelib/tools/qmargins.cpp
+++ b/src/corelib/tools/qmargins.cpp
@@ -484,7 +484,7 @@ QDebug operator<<(QDebug dbg, const QMargins &m)
Returns \c true if all margins are very close to 0; otherwise returns
false.
- \sa {<QtGlobal>::}{qFuzzyIsNull}
+ \sa {<QtNumeric>::}{qFuzzyIsNull()}
*/
diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc
index e2181c816b..dd47398e6d 100644
--- a/src/testlib/qtestcase.qdoc
+++ b/src/testlib/qtestcase.qdoc
@@ -103,7 +103,7 @@
\snippet code/src_qtestlib_qtestcase.cpp 2
When comparing floating-point types (\c float, \c double, and \c qfloat16),
- \l {qFuzzyCompare()} is used for finite values. If \l {<QtGlobal>::}{qFuzzyIsNull()}
+ \l {qFuzzyCompare()} is used for finite values. If \l {<QtNumeric>::}{qFuzzyIsNull()}
is true for both values, they are also considered equal. Infinities
match if they have the same sign, and any NaN as actual value matches
with any NaN as expected value (even though NaN != NaN, even when