mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
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:
parent
93c15c8151
commit
0f05d6bd74
6 changed files with 15 additions and 13 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue