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. Change-Id: I870021ef5a04edc26553d8b0376da007687b2f05 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit a1ff7f518df7ed08c3b7a08539268b3535b28969) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
56ca968452
commit
a655c8b104
@ -198,7 +198,7 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg);
|
||||
\endcode
|
||||
|
||||
To inspect the properties of the original, typed permission,
|
||||
use the data() function:
|
||||
use the \l {QPermission::}{value()} function:
|
||||
|
||||
\code
|
||||
QLocationPermission locationPermission;
|
||||
|
Loading…
x
Reference in New Issue
Block a user