diff options
Diffstat (limited to 'logic/net/HttpMetaCache.cpp')
-rw-r--r-- | logic/net/HttpMetaCache.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/logic/net/HttpMetaCache.cpp b/logic/net/HttpMetaCache.cpp index 50a1136e..46801ab3 100644 --- a/logic/net/HttpMetaCache.cpp +++ b/logic/net/HttpMetaCache.cpp @@ -36,12 +36,6 @@ HttpMetaCache::~HttpMetaCache() SaveNow(); } -void HttpMetaCache::SaveEventually() -{ - saveBatchingTimer.stop(); - saveBatchingTimer.start(30000); -} - MetaEntryPtr HttpMetaCache::getEntry ( QString base, QString resource_path ) { // no base. no base path. can't store @@ -197,6 +191,13 @@ void HttpMetaCache::Load() } } +void HttpMetaCache::SaveEventually() +{ + // reset the save timer + saveBatchingTimer.stop(); + saveBatchingTimer.start(30000); +} + void HttpMetaCache::SaveNow() { QSaveFile tfile(m_index_file); |