QTfrontend/hwform.cpp
changeset 4870 c02406028e02
parent 4845 9a0f5377c529
child 4894 efcea232bbf6
--- a/QTfrontend/hwform.cpp	Sat Jan 22 22:31:05 2011 +0100
+++ b/QTfrontend/hwform.cpp	Sat Jan 22 22:43:54 2011 +0100
@@ -697,7 +697,7 @@
 
 void HWForm::NetConnectServer(const QString & host, quint16 port)
 {
-    _NetConnect(host, port, ui.pageOptions->editNetNick->text());
+    _NetConnect(host, port, ui.pageOptions->editNetNick->text().trimmed());
 }
 
 void HWForm::NetConnectOfficialServer()