This commit is contained in:
ctrlaltca 2017-04-25 06:29:32 +02:00 committed by Zach H
parent acb40bc738
commit 8ad448a23c
4 changed files with 24 additions and 25 deletions

View file

@ -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 *)