From 661ab8398ed92f219dc38c02e7326e0eade307bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 16 Jul 2024 16:49:35 +0200 Subject: [PATCH] Doc: Fix typo in snippet Change-Id: I1a93a5f58bc5edc07c5449f20eb2444ebc252a61 Reviewed-by: Ahmad Samir (cherry picked from commit 3e1f73aa30761533b5a897ee0ee6d7ce33f5b4bb) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/doc/snippets/code/src_corelib_io_qdirlisting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/doc/snippets/code/src_corelib_io_qdirlisting.cpp b/src/corelib/doc/snippets/code/src_corelib_io_qdirlisting.cpp index 584b34fc3bc..85da342eb6d 100644 --- a/src/corelib/doc/snippets/code/src_corelib_io_qdirlisting.cpp +++ b/src/corelib/doc/snippets/code/src_corelib_io_qdirlisting.cpp @@ -48,7 +48,7 @@ for (const auto &dirEntry : QDirListing(u"/etc"_s, ItFlag::Recursive)) { if (dirEntry.fileName().endsWith(u".conf")) { /* ... */ } // This works, but might be potentially slower, since it has to construct a - // QFileInfo, whereas (depending on the implemnetation) the fileName could + // QFileInfo, whereas (depending on the implementation) the fileName could // be known already if (dirEntry.fileInfo().fileName().endsWith(u".conf")) { /* ... */ } }