From b4122cff89e769006730a2ecb1aa23d6081f73ab Mon Sep 17 00:00:00 2001 From: robotbrain Date: Sun, 5 Oct 2014 11:36:56 -0400 Subject: [PATCH] Fix translation downloading --- logic/trans/TranslationDownloader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/logic/trans/TranslationDownloader.cpp b/logic/trans/TranslationDownloader.cpp index d533a7a2..d2b96a01 100644 --- a/logic/trans/TranslationDownloader.cpp +++ b/logic/trans/TranslationDownloader.cpp @@ -27,9 +27,11 @@ void TranslationDownloader::indexRecieved() { if (!line.isEmpty()) { + MetaEntryPtr entry = MMC->metacache()->resolveEntry("translations", "mmc_" + line); + entry->stale = true; CacheDownloadPtr dl = CacheDownload::make( QUrl(URLConstants::TRANSLATIONS_BASE_URL + line), - MMC->metacache()->resolveEntry("translations", "mmc_" + line)); + entry); m_dl_job->addNetAction(dl); } }