equal
deleted
inserted
replaced
895 |
895 |
896 void HWForm::ForcedDisconnect() |
896 void HWForm::ForcedDisconnect() |
897 { |
897 { |
898 if(pnetserver) return; // we have server - let it care of all things |
898 if(pnetserver) return; // we have server - let it care of all things |
899 if (hwnet) { |
899 if (hwnet) { |
900 hwnet->deleteLater(); |
900 HWNewNet * tmp = hwnet; |
901 hwnet = 0; |
901 hwnet = 0; |
|
902 tmp->deleteLater(); |
902 QMessageBox::warning(this, QMessageBox::tr("Network"), |
903 QMessageBox::warning(this, QMessageBox::tr("Network"), |
903 QMessageBox::tr("Connection to server is lost")); |
904 QMessageBox::tr("Connection to server is lost")); |
904 |
905 |
905 } |
906 } |
906 if (ui.Pages->currentIndex() != ID_PAGE_NET) GoBack(); |
907 if (ui.Pages->currentIndex() != ID_PAGE_NET) GoBack(); |