QTfrontend/hwform.cpp
changeset 7802 c7f5c3bd7f8c
parent 7796 5d00c28059e3
child 7803 7c4d83f8ac23
equal deleted inserted replaced
7801:7222dd855540 7802:c7f5c3bd7f8c
  1284     {
  1284     {
  1285         QString errorStr = QMessageBox::tr("Connection to server is lost") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Quit reason: ") + '"' + reason +'"'));
  1285         QString errorStr = QMessageBox::tr("Connection to server is lost") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Quit reason: ") + '"' + reason +'"'));
  1286         ShowErrorMessage(errorStr);
  1286         ShowErrorMessage(errorStr);
  1287     }
  1287     }
  1288     if (ui.Pages->currentIndex() != ID_PAGE_NET)
  1288     if (ui.Pages->currentIndex() != ID_PAGE_NET)
  1289         GoBack();
  1289         GoToPage(ID_PAGE_NET);
  1290 }
  1290 }
  1291 
  1291 
  1292 void HWForm::NetConnected()
  1292 void HWForm::NetConnected()
  1293 {
  1293 {
  1294     GoToPage(ID_PAGE_ROOMSLIST);
  1294     GoToPage(ID_PAGE_ROOMSLIST);