changeset 2334 | 3cf9290a518e |
parent 2155 | d897222d3339 |
child 2335 | 0a61a3c2efc4 |
--- a/QTfrontend/newnetclient.cpp Thu Aug 27 12:59:21 2009 +0000 +++ b/QTfrontend/newnetclient.cpp Thu Aug 27 17:26:21 2009 +0000 @@ -66,7 +66,7 @@ void HWNewNet::Connect(const QString & hostName, quint16 port, const QString & nick) { - mynick = nick; + mynick = nick.isEmpty() ? QLineEdit::tr("unnamed") : nick; NetSocket.connectToHost(hostName, port); }