diff options
Diffstat (limited to 'logic/trans/TranslationDownloader.cpp')
-rw-r--r-- | logic/trans/TranslationDownloader.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/logic/trans/TranslationDownloader.cpp b/logic/trans/TranslationDownloader.cpp index d2b96a01..77f1b9f7 100644 --- a/logic/trans/TranslationDownloader.cpp +++ b/logic/trans/TranslationDownloader.cpp @@ -3,7 +3,8 @@ #include "logic/net/ByteArrayDownload.h" #include "logic/net/CacheDownload.h" #include "logic/net/URLConstants.h" -#include "MultiMC.h" +#include "logic/Env.h" +#include "logger/QsLog.h" TranslationDownloader::TranslationDownloader() { @@ -27,7 +28,7 @@ void TranslationDownloader::indexRecieved() { if (!line.isEmpty()) { - MetaEntryPtr entry = MMC->metacache()->resolveEntry("translations", "mmc_" + line); + MetaEntryPtr entry = ENV.metacache()->resolveEntry("translations", "mmc_" + line); entry->stale = true; CacheDownloadPtr dl = CacheDownload::make( QUrl(URLConstants::TRANSLATIONS_BASE_URL + line), |