mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 15:43:54 -07:00
Limit pixmap cache size to 2047MB; fix #555
also, fix any invalid values loaded from config
This commit is contained in:
parent
8e396cadc2
commit
24c6e4a81d
3 changed files with 9 additions and 2 deletions
|
|
@ -9,6 +9,8 @@
|
|||
#define PIC_URL_HQ_FALLBACK "http://mtgimage.com/set/!setcode!/!name!.jpg"
|
||||
// size should be a multiple of 64
|
||||
#define PIXMAPCACHE_SIZE_DEFAULT 256
|
||||
#define PIXMAPCACHE_SIZE_MIN 64
|
||||
#define PIXMAPCACHE_SIZE_MAX 2047
|
||||
|
||||
class QSettings;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue