summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfileinfo.cpp
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2021-10-09 15:06:03 +0200
committerJonas Kvinge <jonas@jkvinge.net>2021-10-12 12:52:02 +0200
commit231fec7ca2f61da7d94c8aa072b41fd7ee893861 (patch)
treeab57dfa7050addd53d82f2040f4cddc8b3d3b17c /src/corelib/io/qfileinfo.cpp
parent651d7debe1effb1288194344cd4ec82377092a5b (diff)
corelib: Fix typos in source code comments
Pick-to: 6.2 Change-Id: Ic78afb67143112468c6f84677ac88f27a74b53aa Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/io/qfileinfo.cpp')
-rw-r--r--src/corelib/io/qfileinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qfileinfo.cpp b/src/corelib/io/qfileinfo.cpp
index 8f2eecc22a..8ff8896aab 100644
--- a/src/corelib/io/qfileinfo.cpp
+++ b/src/corelib/io/qfileinfo.cpp
@@ -130,11 +130,11 @@ uint QFileInfoPrivate::getFileFlags(QAbstractFileEngine::FileFlags request) cons
Q_ASSERT(fileEngine); // should never be called when using the native FS
// We split the testing into tests for for LinkType, BundleType, PermsMask
// and the rest.
- // Tests for file permissions on Windows can be slow, expecially on network
+ // Tests for file permissions on Windows can be slow, especially on network
// paths and NTFS drives.
// In order to determine if a file is a symlink or not, we have to lstat().
// If we're not interested in that information, we might as well avoid one
- // extra syscall. Bundle detecton on Mac can be slow, expecially on network
+ // extra syscall. Bundle detecton on Mac can be slow, especially on network
// paths, so we separate out that as well.
QAbstractFileEngine::FileFlags req;
@@ -1677,7 +1677,7 @@ QDebug operator<<(QDebug dbg, const QFileInfo &fi)
QDirIterator it(dir);
while (it.hasNext()) {
// Implicit conversion from QString (returned by it.next()):
- // may create unnecessary data strucutres and cause additional
+ // may create unnecessary data structures and cause additional
// accesses to the file system. Unless this macro is defined,
// this line does not compile.