diff options
Diffstat (limited to 'logic/SkinUtils.cpp')
-rw-r--r-- | logic/SkinUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/SkinUtils.cpp b/logic/SkinUtils.cpp index 33fc5b1b..68d94117 100644 --- a/logic/SkinUtils.cpp +++ b/logic/SkinUtils.cpp @@ -13,9 +13,9 @@ * limitations under the License. */ -#include "MultiMC.h" #include "logic/SkinUtils.h" #include "net/HttpMetaCache.h" +#include "logic/Env.h" #include <QFile> #include <QJsonDocument> @@ -29,7 +29,7 @@ namespace SkinUtils */ QPixmap getFaceFromCache(QString username, int height, int width) { - QFile fskin(MMC->metacache() + QFile fskin(ENV.metacache() ->resolveEntry("skins", username + ".png") ->getFullPath()); |