mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 21:04:07 -07:00
Reorder class member variables initialization in TabGame
This commit is contained in:
parent
954489e6c0
commit
3a5cdd6ba8
1 changed files with 2 additions and 2 deletions
|
|
@ -236,6 +236,7 @@ void DeckViewContainer::setDeck(const DeckLoader &deck)
|
|||
|
||||
TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
||||
: Tab(_tabSupervisor),
|
||||
secondsElapsed(0),
|
||||
hostId(-1),
|
||||
localPlayerId(-1),
|
||||
spectator(true),
|
||||
|
|
@ -245,8 +246,7 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
|||
activeCard(0),
|
||||
gameClosed(false),
|
||||
replay(_replay),
|
||||
currentReplayStep(0),
|
||||
secondsElapsed(0)
|
||||
currentReplayStep(0)
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue