diff options
| author | Anton Kudryavtsev <anton.kudryavtsev@vk.team> | 2023-08-17 13:34:19 +0300 |
|---|---|---|
| committer | Anton Kudryavtsev <antkudr@mail.ru> | 2023-09-06 19:36:05 +0000 |
| commit | f81e39695a855c7a3004b32f47c7ddb93804ac42 (patch) | |
| tree | 9280c00e7077c84f80027b43129b1a4b4c66d27b /src/network/access/qnetworkreplywasmimpl.cpp | |
| parent | 74fb2519e32760dbe9f10a9ffd2b460d827062a5 (diff) | |
network: use string view types more
Prefer QLatin1StringView overloads
Change-Id: I23846761f2c93021de4f6e6b7eba1d74045f89a1
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreplywasmimpl.cpp')
| -rw-r--r-- | src/network/access/qnetworkreplywasmimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkreplywasmimpl.cpp b/src/network/access/qnetworkreplywasmimpl.cpp index be5b0f5f0ae..d8190434ccf 100644 --- a/src/network/access/qnetworkreplywasmimpl.cpp +++ b/src/network/access/qnetworkreplywasmimpl.cpp @@ -291,7 +291,7 @@ void QNetworkReplyWasmImplPrivate::doSendRequest() attr.timeoutMSecs = request.transferTimeout(); attr.userData = reinterpret_cast<void *>(this); - QString dPath = QStringLiteral("/home/web_user/") + request.url().fileName(); + QString dPath = "/home/web_user/"_L1 + request.url().fileName(); QByteArray destinationPath = dPath.toUtf8(); attr.destinationPath = destinationPath.constData(); |
