mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[UserList] Raise banner card art cache to 1024 entries (#7169)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
b80e6994ab
commit
21633eb0ec
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