summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-07-01 07:31:28 +0200
committerMarc Mutz <[email protected]>2025-07-02 20:28:03 +0200
commitdd1c5723382308d5317f402048de07e0854450a6 (patch)
tree4ce1ad44d96b043c2cab2c84d3e5af83a8bddebb
parent219a7e0deff61c6880426ba2b1dfabec8895e30c (diff)
[docs] QQuaternion: fix links to QVector3D functionsHEADdev
Without qualification, qdoc links x() to this class' x(). But the documentation means QVector3D::x(), so we need an explicit \l here. Similar to ab1ce95c8ce38683477373cf84ba5686ea00efed for QString/QByteArray. Amends 88142e73d5e062cf26638511a42140b59ef736cc. Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I6eb5ca38f328ce36988e10e3221b801e68629938 Reviewed-by: Volker Hilsheimer <[email protected]>
-rw-r--r--src/gui/math3d/qquaternion.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/math3d/qquaternion.cpp b/src/gui/math3d/qquaternion.cpp
index 8f517ad5bed..b4dccfc42fe 100644
--- a/src/gui/math3d/qquaternion.cpp
+++ b/src/gui/math3d/qquaternion.cpp
@@ -432,8 +432,9 @@ QQuaternion QQuaternion::fromAxisAndAngle
\overload
Creates a quaternion that corresponds to a rotation of \a angles:
- angles.z() degrees around the z axis, angles.x() degrees around the x axis,
- and angles.y() degrees around the y axis (in that order).
+ angles.\l{QVector3D::}{z()} degrees around the z axis,
+ angles.\l{QVector3D::}{x()} degrees around the x axis, and
+ angles.\l{QVector3D::}{y()} degrees around the y axis (in that order).
\sa toEulerAngles()
*/