Fix QPermission documentation for accessing typed permissions

The documentation suggested to use a non-existing data() function.
Fix it to mention the actual QPermission::value() method.

Pick-to: 6.5
Change-Id: I870021ef5a04edc26553d8b0376da007687b2f05
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Ivan Solovev 2023-03-31 12:23:23 +02:00
parent b83de5f9a4
commit a1ff7f518d

View File

@ -198,7 +198,7 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg);
\endcode \endcode
To inspect the properties of the original, typed permission, To inspect the properties of the original, typed permission,
use the data() function: use the \l {QPermission::}{value()} function:
\code \code
QLocationPermission locationPermission; QLocationPermission locationPermission;