diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-12 15:12:22 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-21 23:53:15 +0200 |
commit | 301f0a6fb025968ee73c74b8dffea1e7fe6f67e0 (patch) | |
tree | 2377e95e6902ff362d3bc275b12a64f634e79685 /src/plugins/tls/openssl/qtls_openssl.cpp | |
parent | 46d6cc47cfabecbaa000482a44d4f9fadf68abd6 (diff) |
QtNetwork: replace remaining uses of QLatin1String by QLatin1StringView
Task-number: QTBUG-98434
Change-Id: I0bb9d534ee42ccbf7d353e251ef58901a86923b4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/tls/openssl/qtls_openssl.cpp')
-rw-r--r-- | src/plugins/tls/openssl/qtls_openssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tls/openssl/qtls_openssl.cpp b/src/plugins/tls/openssl/qtls_openssl.cpp index f022ebcd6d..d95756e2d2 100644 --- a/src/plugins/tls/openssl/qtls_openssl.cpp +++ b/src/plugins/tls/openssl/qtls_openssl.cpp @@ -85,7 +85,7 @@ QSsl::AlertLevel tlsAlertLevel(int value) QString tlsAlertDescription(int value) { - QString description = QLatin1String(q_SSL_alert_desc_string_long(value)); + QString description = QLatin1StringView(q_SSL_alert_desc_string_long(value)); if (!description.size()) description = "no description provided"_L1; return description; |