From 5b2fda435784219ecc0faa3d2eef537b0954b367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 9 Jul 2024 13:02:45 +0200 Subject: [PATCH] Doc: Replace mentioning of non-existing Qt permissions API \l is your friend to detect incorrect links. Pick-to: 6.7 Change-Id: I347cb3c80664c89183523b683d3f988a1f4ab978 Reviewed-by: Thiago Macieira (cherry picked from commit d05399c9932e3f00a2f4137a373552b1e781102d) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qpermissions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/kernel/qpermissions.cpp b/src/corelib/kernel/qpermissions.cpp index ae9cc6161dc..4089bee6935 100644 --- a/src/corelib/kernel/qpermissions.cpp +++ b/src/corelib/kernel/qpermissions.cpp @@ -137,8 +137,8 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg); \li Request the minimal set of permissions needed. For example, if you only need access to the microphone, do \e not request camera permission just in case. Use the properties of individual permission types to limit the permission scope - even further, for example QContactsPermission::setReadOnly() to request read - only access. + even further, for example \l{QContactsPermission::setAccessMode()} + to request read only access. \li Request permissions in response to specific actions by the user. For example, defer requesting microphone permission until the user presses the button to record