Added error code and message for server maintenance.
This commit is contained in:
1 parent
6cf0d8777a
commit
b833b05787
4 files changed
+36
-22
No files matched your search
@@ -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); }
|
||||
|
||||
Reference in new issue
Block a user