diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2011-04-04 11:28:20 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2011-04-04 11:49:25 (GMT) |
commit | 12a0099dfb8242d0296ccef1a78d75327ff8fe03 (patch) | |
tree | bc13ab7cc62b17d5508341058238e633ae1ebcf8 /src/network/access/qnetworkaccesshttpbackend_p.h | |
parent | 939d2e725c2c52f33097fcc50664c46d40c05b04 (diff) | |
download | Qt-12a0099dfb8242d0296ccef1a78d75327ff8fe03.zip Qt-12a0099dfb8242d0296ccef1a78d75327ff8fe03.tar.gz Qt-12a0099dfb8242d0296ccef1a78d75327ff8fe03.tar.bz2 |
HTTP backend: make cache validation method return bool
... rather than storing it in a bool reference.
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/access/qnetworkaccesshttpbackend_p.h')
-rw-r--r-- | src/network/access/qnetworkaccesshttpbackend_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccesshttpbackend_p.h b/src/network/access/qnetworkaccesshttpbackend_p.h index 712dd2f..5e143eb 100644 --- a/src/network/access/qnetworkaccesshttpbackend_p.h +++ b/src/network/access/qnetworkaccesshttpbackend_p.h @@ -148,7 +148,7 @@ private: quint64 resumeOffset; - void validateCache(QHttpNetworkRequest &httpRequest, bool &loadedFromCache); + bool validateCache(QHttpNetworkRequest &httpRequest); void invalidateCache(); void postRequest(); void readFromHttp(); |