equal
deleted
inserted
replaced
23 #include <QPixmap> |
23 #include <QPixmap> |
24 #include <QRegExp> |
24 #include <QRegExp> |
25 #include <QIcon> |
25 #include <QIcon> |
26 #include <QFile> |
26 #include <QFile> |
27 #include <QTextStream> |
27 #include <QTextStream> |
|
28 #include <QMessageBox> |
28 |
29 |
29 #include "hwform.h" |
30 #include "hwform.h" |
30 #include "game.h" |
31 #include "game.h" |
31 #include "team.h" |
32 #include "team.h" |
32 #include "netclient.h" |
33 #include "netclient.h" |
307 { |
308 { |
308 if(pnetserver) return; // we have server - let it care of all things |
309 if(pnetserver) return; // we have server - let it care of all things |
309 if (hwnet) { |
310 if (hwnet) { |
310 hwnet->deleteLater(); |
311 hwnet->deleteLater(); |
311 hwnet=0; |
312 hwnet=0; |
|
313 QMessageBox::warning(this, QMessageBox::tr("Network"), |
|
314 QMessageBox::tr("Connection to server is lost")); |
312 } |
315 } |
313 GoBack(); |
316 GoBack(); |
314 } |
317 } |
315 |
318 |
316 void HWForm::AddGame(const QString & chan) |
319 void HWForm::AddGame(const QString & chan) |