equal
deleted
inserted
replaced
1678 } |
1678 } |
1679 return; |
1679 return; |
1680 } |
1680 } |
1681 if (pnetserver) |
1681 if (pnetserver) |
1682 return; // we have server - let it care of all things |
1682 return; // we have server - let it care of all things |
1683 if (hwnet && (reason != "bye") && (!reason.startsWith("User quit: "))) |
1683 if (hwnet && (reason != "bye")) |
1684 { |
1684 { |
1685 QString errorStr = QMessageBox::tr("The connection to the server is lost.") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Reason:") + "\n" + reason)); |
1685 QString errorStr = QMessageBox::tr("The connection to the server is lost.") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Reason:") + "\n" + reason)); |
1686 MessageDialog::ShowErrorMessage(errorStr, this); |
1686 MessageDialog::ShowErrorMessage(errorStr, this); |
1687 } |
1687 } |
1688 |
1688 |