QTfrontend/hwform.cpp
changeset 13657 2d38dc2d3414
parent 13628 d5e029b84e16
child 13673 1aa5e884326a
equal deleted inserted replaced
13656:edbe5d80ffbc 13657:2d38dc2d3414
  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)