diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-03-01 14:19:17 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-03-05 06:22:26 +0000 |
commit | d5921e7376d94ad2c1199f67cb2edfffdc5641ea (patch) | |
tree | 0b7f95d35daf60fc3a1120206ed21036ee86cfe7 | |
parent | eaec9459234520db24a88143bdd21ab86543d5b2 (diff) | |
download | qtbase-d5921e7376d94ad2c1199f67cb2edfffdc5641ea.tar.gz |
Doc: fix links to qFuzzyIsNull
The function is in the QtNumeric documentation context.
Change-Id: Ibc6a8961bc04efd4ab1eb50bb371e6a169d513dc
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit c1cbb12e57e24b977b1a5c5be711793d6e67c113)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/corelib/tools/qmargins.cpp | 2 | ||||
-rw-r--r-- | 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 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 |