Cleanup of the joinnetworkgamedialog. Thread creation/termination is now done in main window. Added code to locate memory leaks.

This commit is contained in:
lotodore
2007-02-19 00:39:44 +00:00
parent 0e97914f94
commit 6e7f6dfdbe
5 changed files with 36 additions and 19 deletions
@@ -63,7 +63,7 @@ void connectToServerDialogImpl::error(int errorID, int osErrorID) {
break;
case ERR_SOCK_CREATION_FAILED:
{ QMessageBox::warning(this, tr("Network Error"),
tr("Could not create socket."),
tr("Could not create a socket for TCP communication."),
QMessageBox::Close); }
break;
case ERR_SOCK_SET_PORT_FAILED:
@@ -78,7 +78,7 @@ void connectToServerDialogImpl::error(int errorID, int osErrorID) {
break;
case ERR_SOCK_CONNECT_FAILED:
{ QMessageBox::warning(this, tr("Network Error"),
tr("Could not connect to server."),
tr("Could not connect to the server."),
QMessageBox::Close); }
break;
default: { QMessageBox::warning(this, tr("Network Error"),