diff options
Diffstat (limited to 'logic/net/HttpMetaCache.cpp')
-rw-r--r-- | logic/net/HttpMetaCache.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/logic/net/HttpMetaCache.cpp b/logic/net/HttpMetaCache.cpp index 4533a736..eb931b8a 100644 --- a/logic/net/HttpMetaCache.cpp +++ b/logic/net/HttpMetaCache.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "MultiMC.h" +#include "logic/Env.h" #include "HttpMetaCache.h" #include <pathutils.h> @@ -32,7 +32,8 @@ QString MetaEntry::getFullPath() { - return PathCombine(MMC->metacache()->getBasePath(base), path); + // FIXME: make local? + return PathCombine(ENV.metacache()->getBasePath(base), path); } HttpMetaCache::HttpMetaCache(QString path) : QObject() |