mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 13:00:01 -08:00
Fix signatures
This commit is contained in:
parent
598da954fc
commit
d8213088e4
66 changed files with 143 additions and 132 deletions
|
|
@ -51,7 +51,7 @@ void CardState::setCardRef(const CardRef &_cardRef)
|
|||
|
||||
void CardState::refreshCardInfo()
|
||||
{
|
||||
exactCard = CardDatabaseManager::query()->getCard(cardRef);
|
||||
exactCard = CardDatabaseManager::query().getCard(cardRef);
|
||||
|
||||
if (!exactCard && !cardRef.name.isEmpty()) {
|
||||
CardInfo::UiAttributes attributes = {.tableRow = -1};
|
||||
|
|
@ -231,7 +231,7 @@ void CardState::setAttachedTo(CardState *_attachedTo)
|
|||
parentZone->reorganizeCards();
|
||||
}
|
||||
} else if (getZone() != nullptr) {
|
||||
emit getZone() -> cardAdded(this);
|
||||
emit getZone()->cardAdded(this);
|
||||
}
|
||||
|
||||
if (getZone() != nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue