mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
update pixmap cache
This commit is contained in:
parent
dfaa6b1d95
commit
d6ec869c23
2 changed files with 18 additions and 10 deletions
|
|
@ -67,6 +67,7 @@ public:
|
|||
QPixmap *loadPixmap();
|
||||
QPixmap *getPixmap(QSize size);
|
||||
void clearPixmapCache();
|
||||
void updatePixmapCache();
|
||||
};
|
||||
|
||||
class CardDatabase : public QObject {
|
||||
|
|
@ -76,7 +77,7 @@ private:
|
|||
QHash<QString, CardSet *> setHash;
|
||||
CardInfo *noCard;
|
||||
QString picsPath, cardDatabasePath;
|
||||
|
||||
|
||||
void loadCardsFromXml(QXmlStreamReader &xml);
|
||||
void loadSetsFromXml(QXmlStreamReader &xml);
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue