mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Revert "Reimplemented PictureLoader as a singleton"
This commit is contained in:
parent
064c89ba5c
commit
d5adec53a2
21 changed files with 705 additions and 657 deletions
|
|
@ -93,8 +93,7 @@ void CardFrame::setCard(CardInfo *card)
|
|||
if (info)
|
||||
disconnect(info, 0, this, 0);
|
||||
info = card;
|
||||
if(info)
|
||||
connect(info, SIGNAL(destroyed()), this, SLOT(clear()));
|
||||
connect(info, SIGNAL(destroyed()), this, SLOT(clear()));
|
||||
text->setCard(info);
|
||||
pic->setCard(info);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue