summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfiledevice.cpp
diff options
context:
space:
mode:
authorCeleste Liu <CoelacanthusHex@gmail.com>2022-09-14 17:11:40 +0800
committerCeleste Liu <CoelacanthusHex@gmail.com>2022-09-15 03:06:49 +0800
commit6295396c644c6771b50ee991a5e6c7051136ac26 (patch)
treeeb69b15c09693ddfbb2e0608cd7a0a81878c5464 /src/corelib/io/qfiledevice.cpp
parent6430d1db636962ed25dd1c14a2d7ae548bafb948 (diff)
doc: fix description of QFileDevice::Permission::*Other
The *Other was documented as "anyone" where it should be "others" because these permission are only applied to users except owner and users in group in UNIX like system. Change-Id: I416eb53a5b6e7ccba238a70a7a0cedd129fc83a4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/corelib/io/qfiledevice.cpp')
-rw-r--r--src/corelib/io/qfiledevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qfiledevice.cpp b/src/corelib/io/qfiledevice.cpp
index 4e508e6597..c83ec227cc 100644
--- a/src/corelib/io/qfiledevice.cpp
+++ b/src/corelib/io/qfiledevice.cpp
@@ -89,9 +89,9 @@ void QFileDevicePrivate::setError(QFileDevice::FileError err, int errNum)
\value ReadGroup The file is readable by the group.
\value WriteGroup The file is writable by the group.
\value ExeGroup The file is executable by the group.
- \value ReadOther The file is readable by anyone.
- \value WriteOther The file is writable by anyone.
- \value ExeOther The file is executable by anyone.
+ \value ReadOther The file is readable by others.
+ \value WriteOther The file is writable by others.
+ \value ExeOther The file is executable by others.
\warning Because of differences in the platforms supported by Qt,
the semantics of ReadUser, WriteUser and ExeUser are