mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
[UserList] Raise banner card art cache to 1024 entries
This commit is contained in:
parent
d99798111e
commit
b8d2b1b268
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ public slots:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool dbReady = false;
|
bool dbReady = false;
|
||||||
static constexpr int MaxCacheEntries = 300;
|
static constexpr int MaxCacheEntries = 1024;
|
||||||
QList<QString> cacheInsertionOrder; // FIFO eviction
|
QList<QString> cacheInsertionOrder; // FIFO eviction
|
||||||
QMap<QString, QPixmap> cardArtCache;
|
QMap<QString, QPixmap> cardArtCache;
|
||||||
QSet<QString> pending;
|
QSet<QString> pending;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue