wait game dialog fix2

This commit is contained in:
doitux
2010-09-25 18:45:55 +00:00
parent 48c57cfe8e
commit 47ea629685
@@ -369,6 +369,10 @@ void gameLobbyDialogImpl::refresh(int actionID) {
headerList2 << tr("Available Players"); headerList2 << tr("Available Players");
myNickListModel->setHorizontalHeaderLabels(headerList2); myNickListModel->setHorizontalHeaderLabels(headerList2);
//stop waitStartGameMsgBox
waitStartGameMsgBoxTimer->stop();
waitStartGameMsgBox->hide();
this->accept(); this->accept();
myW->show(); myW->show();
} }
@@ -1171,7 +1175,7 @@ void gameLobbyDialogImpl::leaveGame() {
autoStartTimerOverlay->hide(); autoStartTimerOverlay->hide();
autoStartTimer->stop(); autoStartTimer->stop();
//stop autoStartTimerOverlay //stop waitStartGameMsgBox
waitStartGameMsgBoxTimer->stop(); waitStartGameMsgBoxTimer->stop();
waitStartGameMsgBox->hide(); waitStartGameMsgBox->hide();
} }
@@ -1303,6 +1307,9 @@ void gameLobbyDialogImpl::reject()
void gameLobbyDialogImpl::closeEvent(QCloseEvent *event) void gameLobbyDialogImpl::closeEvent(QCloseEvent *event)
{ {
event->accept(); event->accept();
//stop waitStartGameMsgBox
waitStartGameMsgBoxTimer->stop();
waitStartGameMsgBox->hide();
} }