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 <flowlnlnln@gmail.com>
This commit is contained in:
parent
0331f5a1eb
commit
3b13e692d2
5 changed files with 39 additions and 8 deletions
|
@ -24,6 +24,8 @@
|
|||
#include <quazip/quazip.h>
|
||||
#include <quazip/quazipfile.h>
|
||||
|
||||
#include <QCryptographicHash>
|
||||
|
||||
namespace ResourcePackUtils {
|
||||
|
||||
bool process(ResourcePack& pack)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue