diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-06-10 17:34:41 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-06-15 21:31:02 +0200 |
commit | 9d2cc4dd766ca6538e17040b6ac845ed880ab0fe (patch) | |
tree | a674c1f10c2bb266b2cff88ef3d6d864ed932212 /src/network/access | |
parent | 37bad1f43b33a460f402f16280719d3b49dd7b24 (diff) |
Fix typos in docs and comments
Found by codespell
Pick-to: 6.4
Change-Id: Ie3e301a23830c773a2e9aff487c702a223d246eb
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/access')
-rw-r--r-- | src/network/access/qnetworkdiskcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkdiskcache.cpp b/src/network/access/qnetworkdiskcache.cpp index fe145a323d..cf07f51d4c 100644 --- a/src/network/access/qnetworkdiskcache.cpp +++ b/src/network/access/qnetworkdiskcache.cpp @@ -562,7 +562,7 @@ QString QNetworkDiskCachePrivate::uniqueFileName(const QUrl &url) const QByteArray hash = QCryptographicHash::hash(cleanUrl.toEncoded(), QCryptographicHash::Sha1); // convert sha1 to base36 form and return first 8 bytes for use as string const QByteArray id = QByteArray::number(*(qlonglong*)hash.data(), 36).left(8); - // generates <one-char subdir>/<8-char filname.d> + // generates <one-char subdir>/<8-char filename.d> uint code = (uint)id.at(id.length()-1) % 16; QString pathFragment = QString::number(code, 16) + u'/' + QLatin1StringView(id) + CACHE_POSTFIX; |