next try for previous fix
This commit is contained in:
@@ -1938,3 +1938,8 @@ QString gameLobbyDialogImpl::getFullCountryString(QString cs)
|
||||
}
|
||||
return fullString;
|
||||
}
|
||||
|
||||
void gameLobbyDialogImpl::stopWaitStartGameMsgBoxTimer()
|
||||
{
|
||||
waitStartGameMsgBoxTimer->stop();
|
||||
}
|
||||
|
||||
@@ -114,6 +114,7 @@ public slots:
|
||||
void showGameDescription(bool show);
|
||||
void showWaitStartGameMsgBox();
|
||||
void hideWaitStartGameMsgBox();
|
||||
void stopWaitStartGameMsgBoxTimer();
|
||||
void joinAnyGameButtonRefresh();
|
||||
void reject();
|
||||
void closeEvent(QCloseEvent *event);
|
||||
|
||||
@@ -928,10 +928,12 @@ void startWindowImpl::networkNotification(int notificationId)
|
||||
}
|
||||
break;
|
||||
case NTF_NET_REMOVED_START_FAILED: {
|
||||
myGameLobbyDialog->hideWaitStartGameMsgBox();
|
||||
QMessageBox::warning(this, tr("Network Notification"),
|
||||
myGameLobbyDialog->stopWaitStartGameMsgBoxTimer();
|
||||
if(QMessageBox::warning(this, tr("Network Notification"),
|
||||
tr("Your connection to the server is very slow, the game had to start without you."),
|
||||
QMessageBox::Close);
|
||||
QMessageBox::Close) == QMessageBox::Close) {
|
||||
myGameLobbyDialog->hideWaitStartGameMsgBox();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case NTF_NET_REMOVED_KICKED: {
|
||||
|
||||
Reference in New Issue
Block a user