mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
refact
This commit is contained in:
@@ -387,7 +387,7 @@ void InstructorsAndTraineesWidget::slot_ConnectedToServer(bool state)
|
||||
if(cntTryConnectToServer < 10)
|
||||
{
|
||||
cntTryConnectToServer++;
|
||||
QTimer::singleShot(1000, this, SLOT(slot_ConnectToServer()));
|
||||
QTimer::singleShot(1000, this, SLOT(slot_TryConnectToServer()));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -460,7 +460,7 @@ void InstructorsAndTraineesWidget::slot_AnswerDocsChanged()
|
||||
viewerTrainees->getAmmTasksWidgetCommon()->setDocsActualed(false);
|
||||
}
|
||||
|
||||
void InstructorsAndTraineesWidget::slot_ConnectToServer()
|
||||
void InstructorsAndTraineesWidget::slot_TryConnectToServer()
|
||||
{
|
||||
updateLabelServer();
|
||||
connectorToServer->SetConnectToServer();
|
||||
@@ -540,7 +540,7 @@ void InstructorsAndTraineesWidget::on_btnConnectionToServer_clicked()
|
||||
|
||||
updateLabelServer();
|
||||
|
||||
QTimer::singleShot(1000, this, SLOT(slot_ConnectToServer()));
|
||||
QTimer::singleShot(1000, this, SLOT(slot_TryConnectToServer()));
|
||||
}
|
||||
|
||||
void InstructorsAndTraineesWidget::on_btnAuthorizationInstructor_clicked()
|
||||
|
||||
Reference in New Issue
Block a user