QTfrontend/hwform.cpp
changeset 111 30ca06092a64
parent 97 e7c1df9cce2c
child 116 00d3d6d2e699
--- a/QTfrontend/hwform.cpp	Mon Aug 14 14:49:40 2006 +0000
+++ b/QTfrontend/hwform.cpp	Wed Aug 16 11:41:00 2006 +0000
@@ -206,7 +206,8 @@
 	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.pageOptions->editNetNick->text());
+	hwnet->Connect(ui.pageNet->editIP->text(), 6667, ui.pageNet->editNetNick->text());
+	config->SaveOptions();
 }
 
 void HWForm::NetDisconnect()