summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/access/qfilenetworkreply.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qfilenetworkreply.cpp b/src/network/access/qfilenetworkreply.cpp
index c878980..497519f 100644
--- a/src/network/access/qfilenetworkreply.cpp
+++ b/src/network/access/qfilenetworkreply.cpp
@@ -112,7 +112,7 @@ void QFileNetworkReplyPrivate::_q_startOperation()
// could we open the file?
if (!opened) {
QString msg = QCoreApplication::translate("QNetworkAccessFileBackend", "Error opening %1: %2")
- .arg(realFile.name(), realFile.errorString());
+ .arg(realFile.fileName(), realFile.errorString());
if (realFile.exists()) {
q->setError(QNetworkReply::ContentAccessDenied, msg);