diff options
author | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-09 15:06:03 +0200 |
---|---|---|
committer | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-12 12:52:02 +0200 |
commit | 231fec7ca2f61da7d94c8aa072b41fd7ee893861 (patch) | |
tree | ab57dfa7050addd53d82f2040f4cddc8b3d3b17c /src/corelib/io/qurl.cpp | |
parent | 651d7debe1effb1288194344cd4ec82377092a5b (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/qurl.cpp')
-rw-r--r-- | src/corelib/io/qurl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 6333ee3c84..0e7ef68ecb 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -3814,7 +3814,7 @@ QUrl QUrl::fromUserInput(const QString &userInput, const QString &workingDirecto return QUrl::fromLocalFile(fileInfo.absoluteFilePath()); } - // Check first for files, since on Windows drive letters can be interpretted as schemes + // Check first for files, since on Windows drive letters can be interpreted as schemes if (QDir::isAbsolutePath(trimmedString)) return QUrl::fromLocalFile(trimmedString); @@ -3822,7 +3822,7 @@ QUrl QUrl::fromUserInput(const QString &userInput, const QString &workingDirecto // Check the most common case of a valid url with a scheme // We check if the port would be valid by adding the scheme to handle the case host:port - // where the host would be interpretted as the scheme + // where the host would be interpreted as the scheme if (url.isValid() && !url.scheme().isEmpty() && urlPrepended.port() == -1) |