diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-11-16 08:12:22 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-11-16 08:12:22 (GMT) |
commit | 671d1590e5b7166dd4473cef70644988bf71e43d (patch) | |
tree | 3432cb01c2d0e50323b6fdd16f0620c3fe4d27fe /src | |
parent | 851814cfedd678bfdf019eeafecd085b9df9058f (diff) | |
download | Qt-671d1590e5b7166dd4473cef70644988bf71e43d.zip Qt-671d1590e5b7166dd4473cef70644988bf71e43d.tar.gz Qt-671d1590e5b7166dd4473cef70644988bf71e43d.tar.bz2 |
Fix compilation without Qt3support (on Windows CE, Symbian)
Don't use QFile's Qt3support member, use fileName() instead.
Reviewed-by: Trust me
Diffstat (limited to 'src')
-rw-r--r-- | src/network/access/qfilenetworkreply.cpp | 2 |
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); |