QTfrontend/newnetclient.cpp
changeset 1307 ce26e16d18ab
parent 1305 453882eb4467
child 1308 d5dcd6cfa5e2
equal deleted inserted replaced
1306:e848447f29be 1307:ce26e16d18ab
   171 		return;
   171 		return;
   172 	}
   172 	}
   173 
   173 
   174 	if (lst[0] == "ERROR") {
   174 	if (lst[0] == "ERROR") {
   175 		if (lst.size() == 2)
   175 		if (lst.size() == 2)
   176 			QMessageBox::information(0, 0, lst[1]);
   176 			QMessageBox::information(0, 0, "Error: " + lst[1]);
   177 		else
   177 		else
   178 			QMessageBox::information(0, 0, "Unknown error");
   178 			QMessageBox::information(0, 0, "Unknown error");
       
   179 		return;
       
   180 	}
       
   181 
       
   182 	if (lst[0] == "WARNING") {
       
   183 		if (lst.size() == 2)
       
   184 			QMessageBox::information(0, 0, "Warning: " + lst[1]);
       
   185 		else
       
   186 			QMessageBox::information(0, 0, "Unknown warning");
   179 		return;
   187 		return;
   180 	}
   188 	}
   181 
   189 
   182   if (lst[0] == "CONNECTED") {
   190   if (lst[0] == "CONNECTED") {
   183     m_game_connected=true;
   191     m_game_connected=true;