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 <thiago.macieira@intel.com> (cherry picked from commit d05399c9932e3f00a2f4137a373552b1e781102d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
1c53afb774
commit
5b2fda4357
@ -137,8 +137,8 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg);
|
|||||||
\li Request the minimal set of permissions needed. For example, if you only
|
\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.
|
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
|
Use the properties of individual permission types to limit the permission scope
|
||||||
even further, for example QContactsPermission::setReadOnly() to request read
|
even further, for example \l{QContactsPermission::setAccessMode()}
|
||||||
only access.
|
to request read only access.
|
||||||
|
|
||||||
\li Request permissions in response to specific actions by the user. For example,
|
\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
|
defer requesting microphone permission until the user presses the button to record
|
||||||
|
Loading…
x
Reference in New Issue
Block a user