equal
deleted
inserted
replaced
695 game->PlayDemo(curritem->data(Qt::UserRole).toString()); |
695 game->PlayDemo(curritem->data(Qt::UserRole).toString()); |
696 } |
696 } |
697 |
697 |
698 void HWForm::NetConnectServer(const QString & host, quint16 port) |
698 void HWForm::NetConnectServer(const QString & host, quint16 port) |
699 { |
699 { |
700 _NetConnect(host, port, ui.pageOptions->editNetNick->text()); |
700 _NetConnect(host, port, ui.pageOptions->editNetNick->text().trimmed()); |
701 } |
701 } |
702 |
702 |
703 void HWForm::NetConnectOfficialServer() |
703 void HWForm::NetConnectOfficialServer() |
704 { |
704 { |
705 NetConnectServer("netserver.hedgewars.org", 46631); |
705 NetConnectServer("netserver.hedgewars.org", 46631); |