From c1cbb12e57e24b977b1a5c5be711793d6e67c113 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 1 Mar 2023 14:19:17 +0100 Subject: [PATCH] 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 --- src/corelib/tools/qmargins.cpp | 2 +- src/testlib/qtestcase.qdoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/tools/qmargins.cpp b/src/corelib/tools/qmargins.cpp index 3cc17b18246..1d2cb7d6e5d 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 {::}{qFuzzyIsNull} + \sa {::}{qFuzzyIsNull()} */ diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc index e2181c816b9..dd47398e6da 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 {::}{qFuzzyIsNull()} + \l {qFuzzyCompare()} is used for finite values. If \l {::}{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