summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qnetworkproxy_libproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/kernel/qnetworkproxy_libproxy.cpp')
-rw-r--r--src/network/kernel/qnetworkproxy_libproxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/network/kernel/qnetworkproxy_libproxy.cpp b/src/network/kernel/qnetworkproxy_libproxy.cpp
index 1df9d674e7..c7d1d48605 100644
--- a/src/network/kernel/qnetworkproxy_libproxy.cpp
+++ b/src/network/kernel/qnetworkproxy_libproxy.cpp
@@ -121,14 +121,14 @@ QList<QNetworkProxy> QNetworkProxyFactory::systemProxyForQuery(const QNetworkPro
bool haveDirectConnection = false;
foreach (const QUrl& url, rawProxies) {
QNetworkProxy::ProxyType type;
- if (url.scheme() == QStringLiteral("http")) {
+ if (url.scheme() == QLatin1String("http")) {
type = QNetworkProxy::HttpProxy;
- } else if (url.scheme() == QStringLiteral("socks")
- || url.scheme() == QStringLiteral("socks5")) {
+ } else if (url.scheme() == QLatin1String("socks")
+ || url.scheme() == QLatin1String("socks5")) {
type = QNetworkProxy::Socks5Proxy;
- } else if (url.scheme() == QStringLiteral("ftp")) {
+ } else if (url.scheme() == QLatin1String("ftp")) {
type = QNetworkProxy::FtpCachingProxy;
- } else if (url.scheme() == QStringLiteral("direct")) {
+ } else if (url.scheme() == QLatin1String("direct")) {
type = QNetworkProxy::NoProxy;
haveDirectConnection = true;
} else {
.7.0&id=045c72d4eb2d2d4effabf92c161d3d7a33e5dd80'>9e873263fdd33bb2986e00c77e84b22b16339c4d /qtcharts parentf84d0c1644da011d85c2bccb02d06488085c8557 (diff)
Update submodules on '6.7 in qt/qt5'v6.7.0-beta3
Change-Id: I54f052c9c0bbd91d49d0524392cfc2ef94c66b0d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
Diffstat (limited to 'qtcharts')
m---------qtcharts0