equal
deleted
inserted
replaced
1671 return; |
1671 return; |
1672 } |
1672 } |
1673 if (pnetserver) |
1673 if (pnetserver) |
1674 return; // we have server - let it care of all things |
1674 return; // we have server - let it care of all things |
1675 if (hwnet) { |
1675 if (hwnet) { |
1676 QString errorStr = QMessageBox::tr("Connection to server is lost") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Quit reason: ") + '"' + reason +'"')); |
1676 QString errorStr = QMessageBox::tr("The connection to the server is lost.") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Reason:") + "\n" + reason)); |
1677 MessageDialog::ShowErrorMessage(errorStr, this); |
1677 MessageDialog::ShowErrorMessage(errorStr, this); |
1678 } |
1678 } |
1679 |
1679 |
1680 while (ui.Pages->currentIndex() != ID_PAGE_NET |
1680 while (ui.Pages->currentIndex() != ID_PAGE_NET |
1681 && ui.Pages->currentIndex() != ID_PAGE_MAIN) |
1681 && ui.Pages->currentIndex() != ID_PAGE_MAIN) |