mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
[Refactor] Move attach and arrow previews from game logic into CardMenu
This commit is contained in:
parent
e34166ae85
commit
86e08db9ff
8 changed files with 28 additions and 30 deletions
|
|
@ -87,7 +87,7 @@ void PlayerMenu::setMenusForGraphicItems()
|
|||
}
|
||||
}
|
||||
|
||||
QMenu *PlayerMenu::updateCardMenu(const CardItem *card)
|
||||
QMenu *PlayerMenu::updateCardMenu(CardItem *card)
|
||||
{
|
||||
if (!card) {
|
||||
emit cardMenuUpdated(nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue