summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-10-05 11:29:12 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-10-05 11:36:32 (GMT)
commitedcec6164cb96a1e26586025e7c72532a9220a38 (patch)
tree79f90e7da00fccab4f2194624154ce6a8adda7ed
parent5e2796c35fb829aae3e9870ac1d738a296b08a6e (diff)
downloadQt-edcec6164cb96a1e26586025e7c72532a9220a38.zip
Qt-edcec6164cb96a1e26586025e7c72532a9220a38.tar.gz
Qt-edcec6164cb96a1e26586025e7c72532a9220a38.tar.bz2
QNAM: Fix usage of toString of QUrl
Reviewed-by: Thiago Macieira
-rw-r--r--src/network/access/qnetworkreplydataimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkreplydataimpl.cpp b/src/network/access/qnetworkreplydataimpl.cpp
index 9e74a21..36f9356 100644
--- a/src/network/access/qnetworkreplydataimpl.cpp
+++ b/src/network/access/qnetworkreplydataimpl.cpp
@@ -90,7 +90,7 @@ QNetworkReplyDataImpl::QNetworkReplyDataImpl(QObject *parent, const QNetworkRequ
} else {
// something wrong with this URI
const QString msg = QCoreApplication::translate("QNetworkAccessDataBackend",
- "Invalid URI: %1").arg(url.toString());
+ "Invalid URI: %1").arg(QString::fromLatin1(url.toEncoded()));
setError(QNetworkReply::ProtocolFailure, msg);
QMetaObject::invokeMethod(this, "error", Qt::QueuedConnection,
Q_ARG(QNetworkReply::NetworkError, QNetworkReply::ProtocolFailure));