summaryrefslogtreecommitdiffstats
path: root/logic/trans
diff options
context:
space:
mode:
Diffstat (limited to 'logic/trans')
-rw-r--r--logic/trans/TranslationDownloader.cpp4
1 files changed, 3 insertions, 1 deletions
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);
}
}