Removed some TODOs. Fixed network error message.

This commit is contained in:
lotodore
2007-06-02 21:19:19 +00:00
parent df2e7a84dd
commit 2022e794ae
5 changed files with 23 additions and 15 deletions
+2 -6
View File
@@ -2412,19 +2412,15 @@ void mainWindowImpl::networkError(int errorID, int osErrorID) {
tr("Internal network error: \"select\" failed."),
QMessageBox::Close); }
break;
case ERR_SOCK_RECV_FAILED:
{ QMessageBox::warning(this, tr("Network Error"),
tr("Internal network error: \"recv\" failed."),
QMessageBox::Close); }
break;
case ERR_SOCK_SEND_FAILED:
{ QMessageBox::warning(this, tr("Network Error"),
tr("Internal network error: \"send\" failed."),
QMessageBox::Close); }
break;
case ERR_SOCK_RECV_FAILED: // Sometimes windows reports recv failed on close.
case ERR_SOCK_CONN_RESET:
{ QMessageBox::warning(this, tr("Network Error"),
tr("Connection was closed by server."),
tr("Connection was closed by the server."),
QMessageBox::Close); }
break;
case ERR_SOCK_CONN_EXISTS: