From 671d1590e5b7166dd4473cef70644988bf71e43d Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 16 Nov 2009 09:12:22 +0100 Subject: Fix compilation without Qt3support (on Windows CE, Symbian) Don't use QFile's Qt3support member, use fileName() instead. Reviewed-by: Trust me --- src/network/access/qfilenetworkreply.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12