mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Lint.
Took 11 minutes
This commit is contained in:
parent
694cfc1fa1
commit
a021df214d
1 changed files with 1 additions and 1 deletions
|
|
@ -712,7 +712,7 @@ void TabGame::processPlayerLeave(Player *leavingPlayer)
|
|||
QMenu *menu = leavingPlayer->getPlayerMenu()->getPlayerMenu();
|
||||
if (menu) {
|
||||
// Find and remove the QAction pointing to this menu
|
||||
QList<QAction*> actions = gameMenu->actions();
|
||||
QList<QAction *> actions = gameMenu->actions();
|
||||
for (QAction *act : actions) {
|
||||
if (act->menu() == menu) {
|
||||
gameMenu->removeAction(act);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue