Fix warning introduced in "Adjust a double leading slash..."

Change-Id: Id89fd3983123c0ba302c493b54437dd75e419e01
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
Thiago Macieira 2012-04-11 17:58:55 -03:00 committed by Qt by Nokia
parent 113af57061
commit 3127f23e3a

View File

@ -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;