fix: instructor update

This commit is contained in:
semenov
2026-03-18 10:47:43 +03:00
parent eb70ed9a6e
commit 38dda10685
10 changed files with 42625 additions and 29647 deletions

View File

@@ -92,7 +92,6 @@ void CoreManager::binding()
connect(recognizeSystem,&RecognizeSystem::sigSendPacketType,this,&CoreManager::sendPacketType,Qt::AutoConnection);
connect(recognizeSystem,&RecognizeSystem::sigSendPacketTypeWithDelay,sendSystem,&SendSystem::sendPacketTypeWithDelay,Qt::AutoConnection);
connect(recognizeSystem,&RecognizeSystem::sigSendToInlineLog,this,&CoreManager::setInlineDebug,Qt::AutoConnection);
connect(recognizeSystem,&RecognizeSystem::sigCallUpdateList,this,&CoreManager::callUpdateList,Qt::AutoConnection);
connect(hashComparer,&HashComparer::sigCallCheck,this,&CoreManager::checkUpdate);
connect(hashComparer,&HashComparer::sigHaveDelta,this,&CoreManager::checkUpdateInfo);
@@ -256,11 +255,11 @@ void CoreManager::setInlineDebug(QString text)
void CoreManager::checkAccessType(const QString& accessType)
{
if (accessType == traineeTypeName)
if (accessType == traineeTypeName)//если обучаемый вызываем обновление
{
checkUpdate();
}
else
else //если инструктор запрашивание версионирование
{
emit sigSendXMLAnswer(cmd_CheckVersionList);
}