equal
deleted
inserted
replaced
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); |