QTfrontend/hwform.cpp
changeset 13846 d8e606cf8ff5
parent 13823 d012948b1eda
child 14462 4c743ef80b1b
equal deleted inserted replaced
13845:1a1fb597da8f 13846:d8e606cf8ff5
  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