diff options
author | artoka <arto.katajasalo@digia.com> | 2011-11-01 12:47:14 (GMT) |
---|---|---|
committer | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-11-01 13:10:47 (GMT) |
commit | c462a2e950df19e6a5ef4d034917fddf49385fe0 (patch) | |
tree | a4012680e768f0b9e7bd2f0380e5997b859ad978 /src/network | |
parent | 24348f5707078a222b439aeee364eb99953059b8 (diff) | |
download | Qt-c462a2e950df19e6a5ef4d034917fddf49385fe0.zip Qt-c462a2e950df19e6a5ef4d034917fddf49385fe0.tar.gz Qt-c462a2e950df19e6a5ef4d034917fddf49385fe0.tar.bz2 |
QNetworkDiskCache documentation missed information
Documentation didn't mention which unit (B,kB,MB) is used
in setMaximumCacheSize and maximumCacheSize. Added unit to
be bytes.
Task-number: QTBUG-15562
Merge-request: 2698
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/access/qnetworkdiskcache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/access/qnetworkdiskcache.cpp b/src/network/access/qnetworkdiskcache.cpp index 1c515c2..9557f7b 100644 --- a/src/network/access/qnetworkdiskcache.cpp +++ b/src/network/access/qnetworkdiskcache.cpp @@ -478,7 +478,7 @@ void QNetworkDiskCache::updateMetaData(const QNetworkCacheMetaData &metaData) } /*! - Returns the current maximum size for the disk cache. + Returns the current maximum size in bytes for the disk cache. \sa setMaximumCacheSize() */ @@ -489,7 +489,7 @@ qint64 QNetworkDiskCache::maximumCacheSize() const } /*! - Sets the maximum size of the disk cache to be \a size. + Sets the maximum size of the disk cache to be \a size in bytes. If the new size is smaller then the current cache size then the cache will call expire(). |