mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
bugfix: stable
This commit is contained in:
@@ -156,8 +156,6 @@ void MainWindow::bindConnection()
|
||||
connect(postProcessorSystem,&PostProcessorSystem::sigServerBlocked,this,&MainWindow::serverBlocked,Qt::AutoConnection);
|
||||
connect(postProcessorSystem,&PostProcessorSystem::sigStartCompare,hashComparer,&HashComparer::CompareDeltas,Qt::AutoConnection); // ОПАСНОСТЬ
|
||||
connect(postProcessorSystem,&PostProcessorSystem::sigSaveLoginData,this,&MainWindow::checkLoginResult,Qt::AutoConnection);
|
||||
connect(postProcessorSystem,&PostProcessorSystem::sigSaveLoginData,dataParserOutput,&DataParserOutput::createAuthData,Qt::AutoConnection);
|
||||
connect(postProcessorSystem,&PostProcessorSystem::sigShowServerList,this,&MainWindow::showServerListWidget);
|
||||
connect(postProcessorSystem,&PostProcessorSystem::sigShowUpdateList,this,&MainWindow::showUpdateInfo,Qt::AutoConnection);
|
||||
|
||||
connect(versionContainer,&VersionContainer::sigSetServerVersion,this,&MainWindow::setServerVersion);
|
||||
@@ -524,7 +522,7 @@ void MainWindow::undoCurrentChanges()
|
||||
emit sigSendCheck();
|
||||
ui->mainFrame->show();
|
||||
|
||||
commonButtonGroupWidget->showProgressBar(true);
|
||||
commonButtonGroupWidget->showProgressBar(false);
|
||||
ui->offlineStartButton->setEnabled(false);
|
||||
updateWidget->hide();
|
||||
|
||||
@@ -539,7 +537,7 @@ void MainWindow::undoCurrentChanges()
|
||||
activateLoadingAnimation(true);
|
||||
|
||||
emit sigSendCommand(PacketType::TYPE_UPDATE);
|
||||
commonButtonGroupWidget->startUpdateState();
|
||||
ui->unsafeChangingButton->hide();
|
||||
|
||||
isRecovery = false;
|
||||
activateLoadingAnimation(false);
|
||||
@@ -547,18 +545,16 @@ void MainWindow::undoCurrentChanges()
|
||||
|
||||
void MainWindow::on_unsafeChangingButton_clicked()
|
||||
{
|
||||
//checkUpdate();
|
||||
showUpdateInfo();
|
||||
updateWidget->show();
|
||||
}
|
||||
|
||||
void MainWindow::on_exitButton_clicked()
|
||||
{
|
||||
workerThread->quit();
|
||||
workerThread->wait();
|
||||
|
||||
emit sigSendXMLAnswer(cmd_Disable);
|
||||
client->disconnect();
|
||||
|
||||
workerThread->quit();
|
||||
delete workerThread;
|
||||
delete ui;
|
||||
|
||||
@@ -594,7 +590,7 @@ void MainWindow::showCompleteDialogBox()
|
||||
void MainWindow::startUnityClient()
|
||||
{
|
||||
externalExecuter->callApp();
|
||||
emit sigSendXMLAnswer("DISABLE");
|
||||
emit sigSendXMLAnswer(cmd_Disable);
|
||||
}
|
||||
|
||||
void MainWindow::setCurrentVersionName(StreamingVersionData *version)
|
||||
|
||||
Reference in New Issue
Block a user