mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Статус задачи обновляется в ГУИ
This commit is contained in:
@@ -84,6 +84,8 @@ void DialogCheckTask::on_btnWrong_clicked()
|
||||
if(QMessageBox::warning(this, tr("Attention!"), tr("Change task status?\nThe status will be set: 'failed'"), QMessageBox::Ok, QMessageBox::Cancel) == QMessageBox::Ok)
|
||||
{
|
||||
connectorToServer->sendQueryToDB(TypeQueryToDB::TYPE_QUERY_CHANGE_STATUS_REPORT_TASK_FIM_TO_TRAINEE, id, (void*)&status);
|
||||
//this->close();
|
||||
this->parentWidget()->close();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,5 +97,7 @@ void DialogCheckTask::on_btnRight_clicked()
|
||||
if(QMessageBox::warning(this, tr("Attention!"), tr("Change task status?\nThe status will be set: 'completed'"), QMessageBox::Ok, QMessageBox::Cancel) == QMessageBox::Ok)
|
||||
{
|
||||
connectorToServer->sendQueryToDB(TypeQueryToDB::TYPE_QUERY_CHANGE_STATUS_REPORT_TASK_FIM_TO_TRAINEE, id, (void*)&status);
|
||||
//this->close();
|
||||
this->parentWidget()->close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user