mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 19:47:46 -07:00
parent
acb40bc738
commit
8ad448a23c
4 changed files with 24 additions and 25 deletions
|
|
@ -41,7 +41,10 @@ void CardInfoPicture::updatePixmap()
|
|||
|
||||
void CardInfoPicture::loadPixmap()
|
||||
{
|
||||
PictureLoader::getPixmap(resizedPixmap, info, size());
|
||||
if(info)
|
||||
PictureLoader::getPixmap(resizedPixmap, info, size());
|
||||
else
|
||||
PictureLoader::getCardBackPixmap(resizedPixmap, size());
|
||||
}
|
||||
|
||||
void CardInfoPicture::paintEvent(QPaintEvent *)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue