equal
deleted
inserted
replaced
496 void HWForm::GameStateChanged(GameState gameState) |
496 void HWForm::GameStateChanged(GameState gameState) |
497 { |
497 { |
498 switch(gameState) { |
498 switch(gameState) { |
499 case gsStarted: { |
499 case gsStarted: { |
500 ui.pageGameStats->labelGameStats->setText(""); |
500 ui.pageGameStats->labelGameStats->setText(""); |
|
501 if (pRegisterServer) |
|
502 { |
|
503 pRegisterServer->unregister(); |
|
504 pRegisterServer = 0; |
|
505 } |
501 break; |
506 break; |
502 } |
507 } |
503 case gsFinished: { |
508 case gsFinished: { |
504 GoToPage(ID_PAGE_GAMESTATS); |
509 GoToPage(ID_PAGE_GAMESTATS); |
505 break; |
510 break; |