mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Connect signals correctly. (#6124)
Took 58 minutes Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
fb23cc8c7a
commit
9ca5ee52e7
2 changed files with 2 additions and 1 deletions
|
|
@ -141,6 +141,7 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor,
|
|||
void TabGame::connectToGameState()
|
||||
{
|
||||
connect(game->getGameState(), &GameState::gameStarted, this, &TabGame::startGame);
|
||||
connect(game->getGameState(), &GameState::gameStopped, this, &TabGame::stopGame);
|
||||
connect(game->getGameState(), &GameState::activePhaseChanged, this, &TabGame::setActivePhase);
|
||||
connect(game->getGameState(), &GameState::activePlayerChanged, this, &TabGame::setActivePlayer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue