Revert "HTTP caching internals: fix logic for PreferNetwork and PreferCache"
This reverts commit e5d27e7aeac984e46f3aa8de20160cc00fc63155. do not change the cache logic fundamentally.
This commit is contained in:
parent
5fdd720425
commit
aef6239e7d
@ -137,6 +137,7 @@ static bool AlwaysFalse = false;
|
||||
|
||||
Q_DECLARE_METATYPE(QNetworkRequest::CacheLoadControl)
|
||||
|
||||
|
||||
void tst_QAbstractNetworkCache::initTestCase()
|
||||
{
|
||||
#ifndef QT_NO_BEARERMANAGEMENT
|
||||
@ -150,6 +151,7 @@ void tst_QAbstractNetworkCache::initTestCase()
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void tst_QAbstractNetworkCache::expires_data()
|
||||
{
|
||||
QTest::addColumn<QNetworkRequest::CacheLoadControl>("cacheLoadControl");
|
||||
|
Loading…
Reference in New Issue
Block a user