QTfrontend/hwform.cpp
changeset 36 a803a00a3272
parent 34 fbe30de53d1d
child 37 2b7f2a43b999
--- a/QTfrontend/hwform.cpp	Sat Dec 31 13:45:09 2005 +0000
+++ b/QTfrontend/hwform.cpp	Sat Dec 31 13:46:49 2005 +0000
@@ -306,11 +306,11 @@
 void HWForm::NetConnect()
 {
 	hwnet = new HWNet(ui.CBResolution->currentIndex(), ui.CBFullscreen->isChecked());
-	hwnet->Connect("172.19.5.168", 6667, ui.editNetNick->text());
 	connect(hwnet, SIGNAL(Connected()), this, SLOT(GoToNetChat()));
 	connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &)));
 	connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter()));
 	connect(hwnet, SIGNAL(ChangeInTeams(const QStringList &)), this, SLOT(ChangeInNetTeams(const QStringList &)));
+	hwnet->Connect("172.19.5.168", 6667, ui.editNetNick->text());
 }
 
 void HWForm::NetDisconnect()