Refactor: clean up CardDatabase pt2 (#6042)

* findPrintingWithId

* remove a param

* cleanup up usage of getCardInfo
This commit is contained in:
RickyRister 2025-07-16 03:33:38 -07:00 committed by GitHub
parent 95190c321c
commit 70b4843bc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 39 additions and 39 deletions

View file

@ -15,7 +15,7 @@ EdhrecCommanderResponseCommanderDetailsDisplayWidget::EdhrecCommanderResponseCom
setLayout(layout);
commanderPicture = new CardInfoPictureWidget(this);
commanderPicture->setCard(CardDatabaseManager::getInstance()->getCardInfo(commanderDetails.getName()));
commanderPicture->setCard(CardDatabaseManager::getInstance()->getCard({commanderDetails.getName()}));
QWidget *currentParent = parentWidget();
TabEdhRecMain *parentTab = nullptr;