summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-05-10 12:12:42 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-05-10 12:27:46 (GMT)
commitcc422e939d671bba8d70a5d02abfb893627303cc (patch)
treef90fe24e42f673250cde8094ae4c537567b2fe68 /src/network/access
parent82433177590490e6a69074c2d86adaa7741b4913 (diff)
downloadQt-cc422e939d671bba8d70a5d02abfb893627303cc.zip
Qt-cc422e939d671bba8d70a5d02abfb893627303cc.tar.gz
Qt-cc422e939d671bba8d70a5d02abfb893627303cc.tar.bz2
Revert "[QNAM FTP] Check for the "ftp" scheme case-insensitively"
This reverts commit a9fb306a1cf1308a3f8b9bb12ed01aed1f6f6f8d.
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkaccessftpbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccessftpbackend.cpp b/src/network/access/qnetworkaccessftpbackend.cpp
index da336d0..1a59011 100644
--- a/src/network/access/qnetworkaccessftpbackend.cpp
+++ b/src/network/access/qnetworkaccessftpbackend.cpp
@@ -77,7 +77,7 @@ QNetworkAccessFtpBackendFactory::create(QNetworkAccessManager::Operation op,
}
QUrl url = request.url();
- if (url.scheme().compare(QLatin1String("ftp"), Qt::CaseInsensitive) == 0)
+ if (url.scheme() == QLatin1String("ftp"))
return new QNetworkAccessFtpBackend;
return 0;
}