diff -r 4cca0c7de609 -r 4f44fc06ca45 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Thu Dec 13 16:10:58 2007 +0000 +++ b/QTfrontend/hwform.cpp Thu Dec 13 21:31:47 2007 +0000 @@ -46,6 +46,7 @@ #include "netwwwserver.h" #include "chatwidget.h" #include "playrecordpage.h" +#include "input_ip.h" HWForm::HWForm(QWidget *parent) : QMainWindow(parent), pnetserver(0), pRegisterServer(0), editedTeam(0), hwnet(0) @@ -89,7 +90,8 @@ connect(ui.pageOptions->WeaponsButt, SIGNAL(clicked()), this, SLOT(GoToSelectWeapon())); connect(ui.pageNet->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack())); - connect(ui.pageNet->BtnNetConnect, SIGNAL(clicked()), this, SLOT(NetConnect())); + connect(ui.pageNet->BtnNetConnect, SIGNAL(clicked()), this, SLOT(NetConnectServer())); + connect(ui.pageNet->BtnSpecifyServer, SIGNAL(clicked()), this, SLOT(NetConnect())); connect(ui.pageNet->BtnNetSvrStart, SIGNAL(clicked()), this, SLOT(GoToNetServer())); connect(ui.pageNet, SIGNAL(connectClicked()), this, SLOT(NetConnectServer())); @@ -408,6 +410,9 @@ void HWForm::NetConnect() { + HWHostPortDialog * hpd = new HWHostPortDialog(this); + + hpd->exec(); // FIXME: _NetConnect(ui.pageNet->editIP->text(), 46631, ui.pageNet->editNetNick->text()); }