Move doc comments to correct place (#6123)

* Move docs for ViewZone

* Update docs

* move docs for updateCardMenu

* Fix link in doc

* format
This commit is contained in:
RickyRister 2025-09-12 06:46:18 -07:00 committed by GitHub
parent 93c15c8151
commit 0f05d6bd74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 15 additions and 13 deletions

View file

@ -838,6 +838,13 @@ QMenu *PlayerMenu::createCardMenu(const CardItem *card)
return cardMenu;
}
/**
* Creates a card menu from the given card and sets it as the currently active card menu.
* Will first check if the card should have a card menu, and no-ops if not.
*
* @param card The card to create the menu for. Pass nullptr to disable the card menu.
* @return The new card menu, or nullptr if failed.
*/
QMenu *PlayerMenu::updateCardMenu(const CardItem *card)
{
if (!card) {