style: change format code

This commit is contained in:
Manuel Monge 2026-03-31 16:47:58 +01:00
parent 9080a443ed
commit b7b7a385ea
2 changed files with 3 additions and 3 deletions

View file

@ -49,13 +49,13 @@ PlayerMenu::PlayerMenu(Player *_player) : player(_player)
connect(&SettingsCache::instance().shortcuts(), &ShortcutsSettings::shortCutChanged, this, connect(&SettingsCache::instance().shortcuts(), &ShortcutsSettings::shortCutChanged, this,
&PlayerMenu::refreshShortcuts); &PlayerMenu::refreshShortcuts);
// Monitor game state to re-evaluate shortcuts when game starts/stops // Monitor game state to re-evaluate shortcuts when game starts/stops
if (player->getGame() && player->getGame()->getGameMetaInfo()) { if (player->getGame() && player->getGame()->getGameMetaInfo()) {
connect(player->getGame()->getGameMetaInfo(), &GameMetaInfo::startedChanged, this, connect(player->getGame()->getGameMetaInfo(), &GameMetaInfo::startedChanged, this,
&PlayerMenu::onGameStartedChanged); &PlayerMenu::onGameStartedChanged);
} }
refreshShortcuts(); refreshShortcuts();
retranslateUi(); retranslateUi();

View file

@ -69,7 +69,7 @@ public:
} }
/// Delegates to all managedComponents, plus counters separately. /// Delegates to all managedComponents, plus counters separately.
///Stop full activation until game has started; only roll-die shortcut is active in lobby. /// Stop full activation until game has started; only roll-die shortcut is active in lobby.
void setShortcutsActive(); void setShortcutsActive();
/// Delegates to all managedComponents, plus counters separately. /// Delegates to all managedComponents, plus counters separately.
void setShortcutsInactive(); void setShortcutsInactive();