Added error code and message for server maintenance.

This commit is contained in:
lotodore
2007-10-12 15:35:58 +00:00
parent 6cf0d8777a
commit b833b05787
4 changed files with 36 additions and 22 deletions
+5
View File
@@ -3548,6 +3548,11 @@ void mainWindowImpl::networkError(int errorID, int /*osErrorID*/) {
tr("Could not start game: Synchronization failed."),
QMessageBox::Close); }
break;
case ERR_NET_SERVER_MAINTENANCE:
{ QMessageBox::warning(this, tr("Network Error"),
tr("The server is down for maintenance. Please try again later."),
QMessageBox::Close); }
break;
default: { QMessageBox::warning(this, tr("Network Error"),
tr("An internal error occured."),
QMessageBox::Close); }