From 3b13e692d29c96f99b2c153dd2c7933070eb8479 Mon Sep 17 00:00:00 2001 From: flow Date: Tue, 30 Aug 2022 18:06:13 -0300 Subject: feat: move resource pack images to QPixmapCache This takes care of evicting entries when the cache gets too big for us, so we can add new entries without much worries. Signed-off-by: flow --- launcher/minecraft/mod/tasks/LocalResourcePackParseTask.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'launcher/minecraft/mod/tasks') diff --git a/launcher/minecraft/mod/tasks/LocalResourcePackParseTask.cpp b/launcher/minecraft/mod/tasks/LocalResourcePackParseTask.cpp index 4634e08b..4f87bc13 100644 --- a/launcher/minecraft/mod/tasks/LocalResourcePackParseTask.cpp +++ b/launcher/minecraft/mod/tasks/LocalResourcePackParseTask.cpp @@ -24,6 +24,8 @@ #include #include +#include + namespace ResourcePackUtils { bool process(ResourcePack& pack) -- cgit