Builds with protocol changes (currently untested).
This commit is contained in:
@@ -1203,7 +1203,7 @@ void startWindowImpl::networkNotification(int notificationId)
|
||||
QMessageBox::Close);
|
||||
}
|
||||
break;
|
||||
case NTF_NET_JOIN_GAME_NAME_IN_USE: {
|
||||
case NTF_NET_CREATE_GAME_NAME_IN_USE: {
|
||||
changeContentDialogImpl dialog(this, myConfig, CHANGE_INET_GAME_NAME_IN_USE);
|
||||
dialog.exec();
|
||||
if(dialog.result() == QDialog::Accepted) {
|
||||
@@ -1211,7 +1211,7 @@ void startWindowImpl::networkNotification(int notificationId)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case NTF_NET_JOIN_GAME_BAD_NAME: {
|
||||
case NTF_NET_CREATE_GAME_BAD_NAME: {
|
||||
changeContentDialogImpl dialog(this, myConfig, CHANGE_INET_BAD_GAME_NAME);
|
||||
dialog.exec();
|
||||
if(dialog.result() == QDialog::Accepted) {
|
||||
@@ -1231,13 +1231,14 @@ void startWindowImpl::networkNotification(int notificationId)
|
||||
QMessageBox::Close);
|
||||
}
|
||||
break;
|
||||
case NTF_NET_CREATE_GUEST_FORBIDDEN:
|
||||
case NTF_NET_JOIN_GUEST_FORBIDDEN: {
|
||||
MyMessageBox::warning(this, tr("Network Notification"),
|
||||
tr("You cannot join this type of game as guest."),
|
||||
QMessageBox::Close);
|
||||
}
|
||||
break;
|
||||
case NTF_NET_JOIN_INVALID_SETTINGS: {
|
||||
case NTF_NET_CREATE_INVALID_SETTINGS: {
|
||||
MyMessageBox::warning(this, tr("Network Notification"),
|
||||
tr("The settings are invalid for this type of game."),
|
||||
QMessageBox::Close);
|
||||
|
||||
Reference in New Issue
Block a user