mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 20:43:54 -07:00
dynamic pixmap cache update
This commit is contained in:
parent
0f737e6155
commit
4beb990f38
6 changed files with 37 additions and 8 deletions
|
|
@ -33,7 +33,7 @@ public:
|
|||
void sortByKey();
|
||||
};
|
||||
|
||||
class CardInfo : QObject {
|
||||
class CardInfo : public QObject {
|
||||
Q_OBJECT
|
||||
private:
|
||||
CardDatabase *db;
|
||||
|
|
@ -86,6 +86,8 @@ public:
|
|||
void updatePixmapCache();
|
||||
private slots:
|
||||
void picDownloadFinished(int id, bool error);
|
||||
signals:
|
||||
void pixmapUpdated();
|
||||
};
|
||||
|
||||
class CardDatabase : public QObject {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue