mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-25 03:42:16 -07:00
Change getPreferredPrintingForCard to getPreferredSetForCard to reflect refactor.
This commit is contained in:
parent
1d61b2bee8
commit
4ee71e6a70
1 changed files with 1 additions and 0 deletions
|
|
@ -327,6 +327,7 @@ void DeckViewContainer::deckSelectFinished(const Response &r)
|
||||||
{
|
{
|
||||||
const Response_DeckDownload &resp = r.GetExtension(Response_DeckDownload::ext);
|
const Response_DeckDownload &resp = r.GetExtension(Response_DeckDownload::ext);
|
||||||
DeckLoader newDeck(QString::fromStdString(resp.deck()));
|
DeckLoader newDeck(QString::fromStdString(resp.deck()));
|
||||||
|
// TODO CHANGE THIS TO BE SELECTED BY UUID
|
||||||
PictureLoader::cacheCardPixmaps(CardDatabaseManager::getInstance()->getCards(newDeck.getCardList()));
|
PictureLoader::cacheCardPixmaps(CardDatabaseManager::getInstance()->getCards(newDeck.getCardList()));
|
||||||
setDeck(newDeck);
|
setDeck(newDeck);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue