equal
deleted
inserted
replaced
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; |