mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Adjust to PrintingInfo change.
Took 5 minutes
This commit is contained in:
parent
1af304a603
commit
019a7b9565
1 changed files with 3 additions and 3 deletions
|
|
@ -56,15 +56,15 @@ QImage PictureLoaderLocal::tryLoad(const CardInfoPtr &toLoad) const
|
|||
{
|
||||
CardSetPtr set = PictureToLoad::extractSetsSorted(toLoad).first();
|
||||
|
||||
CardInfoPerSet setInstance = CardDatabaseManager::getInstance()->getSetInfoForCard(toLoad);
|
||||
PrintingInfo setInstance = CardDatabaseManager::getInstance()->getSetInfoForCard(toLoad);
|
||||
|
||||
QString cardName = toLoad->getName();
|
||||
QString correctedCardName = toLoad->getCorrectedName();
|
||||
|
||||
QString setName, collectorNumber, providerId;
|
||||
|
||||
if (setInstance.getPtr()) {
|
||||
setName = setInstance.getPtr()->getCorrectedShortName();
|
||||
if (setInstance.getSet()) {
|
||||
setName = setInstance.getSet()->getCorrectedShortName();
|
||||
collectorNumber = setInstance.getProperty("num");
|
||||
providerId = setInstance.getProperty("uuid");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue