Preparing guest user restrictions when joining games.
This commit is contained in:
@@ -694,7 +694,7 @@ void startWindowImpl::networkError(int errorID, int /*osErrorID*/) {
|
||||
break;
|
||||
case ERR_NET_INVALID_PASSWORD:
|
||||
{ QMessageBox::warning(this, tr("Network Error"),
|
||||
tr("Invalid password when joining the game.\nPlease reenter the password and try again."),
|
||||
tr("Invalid login.\nPlease check your username and password."),
|
||||
QMessageBox::Close); }
|
||||
break;
|
||||
case ERR_NET_INVALID_PASSWORD_STR:
|
||||
@@ -842,6 +842,11 @@ void startWindowImpl::networkNotification(int notificationId)
|
||||
tr("Invalid password when joining the game.\nPlease reenter the password and try again."),
|
||||
QMessageBox::Close); }
|
||||
break;
|
||||
case NTF_NET_JOIN_GUEST_FORBIDDEN:
|
||||
{ QMessageBox::warning(this, tr("Network Notification"),
|
||||
tr("You cannot join this type of game as guest."),
|
||||
QMessageBox::Close); }
|
||||
break;
|
||||
case NTF_NET_NEW_RELEASE_AVAILABLE:
|
||||
{ QMessageBox msgBox(QMessageBox::Information, tr("Network Notification"),
|
||||
tr("A new release of PokerTH is available.<br>Please go to <a href=\"http://www.pokerth.net/\" target=\"_blank\">http://www.pokerth.net</a> and download the latest version."),
|
||||
|
||||
Reference in New Issue
Block a user