summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qpermissions.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@qt.io>2025-02-06 11:28:11 +0100
committerDavid Boddie <david.boddie@qt.io>2025-02-10 13:20:16 +0000
commit4dcff4ed6d24e6aa061e145bb9de9ff93351a2b1 (patch)
tree47677a285d952dd8442d994b9fe590820897f5ca /src/corelib/kernel/qpermissions.cpp
parenta522a0595bc3e908efc7ec70c9d7120c4d5c599b (diff)
doc: Fix broken links and incorrect information
ReadOnly was used in places where ReadWrite was the correct value. Pick-to: 6.8 6.9 Change-Id: I26a2f0de55665ac015fe269e8e5f0d23a2f00e5f Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/kernel/qpermissions.cpp')
-rw-r--r--src/corelib/kernel/qpermissions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qpermissions.cpp b/src/corelib/kernel/qpermissions.cpp
index 6ee4715e72f..ef22861866e 100644
--- a/src/corelib/kernel/qpermissions.cpp
+++ b/src/corelib/kernel/qpermissions.cpp
@@ -578,7 +578,7 @@ QT_PERMISSION_IMPL_COMMON(QContactsPermission)
{}
/*!
- Sets whether the request is for read-write (\a mode == AccessMode::ReadOnly) or
+ Sets whether the request is for read-write (\a mode == AccessMode::ReadWrite) or
read-only (\a mode == AccessMode::ReadOnly) access to the contacts.
*/
void QContactsPermission::setAccessMode(AccessMode mode)
@@ -635,7 +635,7 @@ QT_PERMISSION_IMPL_COMMON(QCalendarPermission)
{}
/*!
- Sets whether the request is for read-write (\a mode == AccessMode::ReadOnly) or
+ Sets whether the request is for read-write (\a mode == AccessMode::ReadWrite) or
read-only (\a mode == AccessMode::ReadOnly) access to the calendar.
*/
void QCalendarPermission::setAccessMode(AccessMode mode)