[Refactor] Move attach and arrow previews from game logic into CardMenu

This commit is contained in:
Lukas Brübach 2026-10-06 12:47:44 +02:00 • committed by GitHub
parent e34166ae85
commit 86e08db9ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 28 additions and 30 deletions

View file

@ -87,7 +87,7 @@ void PlayerMenu::setMenusForGraphicItems()
}
}
QMenu *PlayerMenu::updateCardMenu(const CardItem *card)
QMenu *PlayerMenu::updateCardMenu(CardItem *card)
{
if (!card) {
emit cardMenuUpdated(nullptr);