From 30ad6769cd612cc792588181d09e885dceca84d3 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 11 Jan 2023 09:49:56 +0100 Subject: [PATCH] [doc] QPermission: some fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - QPermission_s_ -> QPermission - add a comma to make a text piece clearer Change-Id: I08469cca9a05b08772d101fdab4eccd6b9cfcab8 Reviewed-by: Tor Arne Vestbø (cherry picked from commit cc236d5e0c38d01ce8b24ba9ac161886b60a6ed9) 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 e95ebeeb824..e3c2dc55ad5 100644 --- a/src/corelib/kernel/qpermissions.cpp +++ b/src/corelib/kernel/qpermissions.cpp @@ -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