diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-04-11 17:58:55 -0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-12 03:18:44 +0200 |
commit | 3127f23e3aded5cd70440e401e0915f5d6112329 (patch) | |
tree | b3275b986cfc5e72a431093fcb9072ab80749f12 /src/corelib/io | |
parent | 113af5706193e942225b66b22ef1ac89f5c1d2da (diff) |
Fix warning introduced in "Adjust a double leading slash..."
Change-Id: Id89fd3983123c0ba302c493b54437dd75e419e01
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qurl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 44d5533364..1cf7e30eb1 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -2645,7 +2645,7 @@ static QUrl adjustFtpPath(QUrl url) { if (url.scheme() == ftpScheme()) { QString path = url.path(); - if (path.startsWith("//")) + if (path.startsWith(QLatin1String("//"))) url.setPath(QLatin1String("/%2F") + path.midRef(2)); } return url; |