QTfrontend/hwform.cpp
changeset 8716 e09633d10f16
parent 8709 191bd86f97a1
child 8720 5603527f9803
equal deleted inserted replaced
8715:70a586fc76fd 8716:e09633d10f16
   998     //GoBack() <- don't or you'll close the socket
   998     //GoBack() <- don't or you'll close the socket
   999     CreateGame(0, 0, 0);
   999     CreateGame(0, 0, 0);
  1000     game->PlayDemo(demofilename, false);
  1000     game->PlayDemo(demofilename, false);
  1001 }
  1001 }
  1002 
  1002 
       
  1003 void HWForm::NetConnectQuick(const QString & host, quint16 port)
       
  1004 {
       
  1005     NetConnectServer(host, port);
       
  1006 }
       
  1007 
  1003 void HWForm::NetConnectServer(const QString & host, quint16 port)
  1008 void HWForm::NetConnectServer(const QString & host, quint16 port)
  1004 {
  1009 {
       
  1010     qDebug("connecting to %s:%d", qPrintable(host), port);
  1005     _NetConnect(host, port, ui.pageOptions->editNetNick->text().trimmed());
  1011     _NetConnect(host, port, ui.pageOptions->editNetNick->text().trimmed());
  1006 }
  1012 }
  1007 
  1013 
  1008 void HWForm::NetConnectOfficialServer()
  1014 void HWForm::NetConnectOfficialServer()
  1009 {
  1015 {