equal
deleted
inserted
replaced
143 void HWNewNet::ParseLine(const QByteArray & line) |
143 void HWNewNet::ParseLine(const QByteArray & line) |
144 { |
144 { |
145 QString msg = QString::fromUtf8 (line.data(), line.size()); |
145 QString msg = QString::fromUtf8 (line.data(), line.size()); |
146 |
146 |
147 QStringList lst = msg.split(delimeter); |
147 QStringList lst = msg.split(delimeter); |
|
148 //qDebug() << "Parsing: " << lst; |
148 if (lst[0] == "ERRONEUSNICKNAME") { |
149 if (lst[0] == "ERRONEUSNICKNAME") { |
149 QMessageBox::information(0, 0, "Your net nickname is in use or cannot be used"); |
150 QMessageBox::information(0, 0, "Your net nickname is in use or cannot be used"); |
150 return; |
151 return; |
151 } |
152 } |
152 |
153 |