[doc] QPermission: some fixes

- QPermission_s_ -> QPermission

- add a comma to make a text piece clearer

Change-Id: I08469cca9a05b08772d101fdab4eccd6b9cfcab8
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit cc236d5e0c38d01ce8b24ba9ac161886b60a6ed9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2023-01-11 09:49:56 +01:00 committed by Qt Cherry-pick Bot
parent c1c740c0b6
commit 30ad6769cd

View File

@ -187,7 +187,7 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg);
\endcode
When requesting permissions, the given functor will
be passed an instance of a QPermissions, which can be used
be passed an instance of a QPermission, which can be used
to check the result of the request:
\code
@ -197,7 +197,7 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg);
});
\endcode
To inspect the properties of the original typed permission,
To inspect the properties of the original, typed permission,
use the data() function:
\code