diff options
| author | Sona Kurazyan <[email protected]> | 2022-04-12 14:01:55 +0200 |
|---|---|---|
| committer | Sona Kurazyan <[email protected]> | 2022-04-21 23:53:15 +0200 |
| commit | f2637e1a77a5965a23e54c07587885f5a04ec877 (patch) | |
| tree | 4564a5c63987750fb10da013b332aefe4a8825c7 /src/network/ssl/qsslconfiguration.cpp | |
| parent | e2a13299101d27800d3d1d88b91635e66d52d5c0 (diff) | |
QtNetwork: stop using QLatin1Char constructor for creating char literals
Required for porting away from QLatin1Char/QLatin1String in scope of
QTBUG-98434.
As a drive-by, fix qsizetype -> int narrowing conversion warnings for
the touched lines.
Change-Id: I121f87214b77aeab1dfd3e62dc5adaa6255cc0e0
Reviewed-by: MÃ¥rten Nordheim <[email protected]>
Diffstat (limited to 'src/network/ssl/qsslconfiguration.cpp')
| -rw-r--r-- | src/network/ssl/qsslconfiguration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslconfiguration.cpp b/src/network/ssl/qsslconfiguration.cpp index bbd9c02d34d..c45b625f8ae 100644 --- a/src/network/ssl/qsslconfiguration.cpp +++ b/src/network/ssl/qsslconfiguration.cpp @@ -634,7 +634,7 @@ void QSslConfiguration::setCiphers(const QString &ciphers) { auto *p = d.data(); p->ciphers.clear(); - const auto cipherNames = ciphers.split(QLatin1Char(':'), Qt::SkipEmptyParts); + const auto cipherNames = ciphers.split(u':', Qt::SkipEmptyParts); for (const QString &cipherName : cipherNames) { QSslCipher cipher(cipherName); if (!cipher.isNull()) |
