summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qpermissions.cpp
diff options
context:
space:
mode:
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)