From 7e1cf22ce61e8a5450e5dc74993e471c20b2742f Mon Sep 17 00:00:00 2001
From: Petr Mrázek <peterix@gmail.com>
Date: Sun, 8 Sep 2013 15:59:50 +0200
Subject: Use youtrack for bugs

---
 logic/net/HttpMetaCache.cpp | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'logic/net')

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);
-- 
cgit