mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
dynamic pixmap cache update
This commit is contained in:
parent
0f737e6155
commit
4beb990f38
6 changed files with 37 additions and 8 deletions
|
|
@ -224,6 +224,8 @@ void CardInfo::updatePixmapCache()
|
|||
qDebug(QString("Updating pixmap cache for %1").arg(name).toLatin1());
|
||||
clearPixmapCache();
|
||||
loadPixmap();
|
||||
|
||||
emit pixmapUpdated();
|
||||
}
|
||||
|
||||
QXmlStreamWriter &operator<<(QXmlStreamWriter &xml, const CardInfo *info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue