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
@@ -31,14 +31,7 @@ joinNetworkGameDialogImpl::joinNetworkGameDialogImpl(QWidget *parent)
}
void joinNetworkGameDialogImpl::setSession(Session* s)
{
mySession = s;
}
void joinNetworkGameDialogImpl::startClient() {
// TODO: Check input values!
if (mySession)
mySession->startNetworkClient(lineEdit_ipAddress->text().toUtf8().constData(), spinBox_port->value(), checkBox_ipv6->isChecked(), lineEdit_password->text().toUtf8().constData());
}