QTfrontend/newnetclient.cpp
changeset 884 99cc72c8a812
parent 883 07a568ba44e0
child 1066 1f1b3686a2b0
equal deleted inserted replaced
883:07a568ba44e0 884:99cc72c8a812
   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