mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
style: change format code
This commit is contained in:
parent
9080a443ed
commit
b7b7a385ea
2 changed files with 3 additions and 3 deletions
|
|
@ -49,13 +49,13 @@ PlayerMenu::PlayerMenu(Player *_player) : player(_player)
|
|||
|
||||
connect(&SettingsCache::instance().shortcuts(), &ShortcutsSettings::shortCutChanged, this,
|
||||
&PlayerMenu::refreshShortcuts);
|
||||
|
||||
|
||||
// Monitor game state to re-evaluate shortcuts when game starts/stops
|
||||
if (player->getGame() && player->getGame()->getGameMetaInfo()) {
|
||||
connect(player->getGame()->getGameMetaInfo(), &GameMetaInfo::startedChanged, this,
|
||||
&PlayerMenu::onGameStartedChanged);
|
||||
}
|
||||
|
||||
|
||||
refreshShortcuts();
|
||||
|
||||
retranslateUi();
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public:
|
|||
}
|
||||
|
||||
/// 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();
|
||||
/// Delegates to all managedComponents, plus counters separately.
|
||||
void setShortcutsInactive();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue