feat: add delay for gui

This commit is contained in:
semenov
2025-06-09 12:59:04 +03:00
parent ec4cb67d46
commit 00d7262251
3 changed files with 15 additions and 25 deletions

View File

@@ -167,18 +167,6 @@ void RecognizeSystem::recognize()
filePath = Tools::createSharedPath(filePath);
QFile file(filePath);
// //ПРОВЕРКА НА ИЗМЕНЕНИЕ БАЗОВОЙ ВЕРСИИ
// bool check = checkIsChangeable();
// bool check2 = checkNonStaticData(filePath);
// if(!check && check2)
// {
// packetType = PacketType::TYPE_NONE;
// sendSystem->sendNotify(commandTryBaseChange);
// mutex->unlock();
// return;
// }
if (file.exists())
{
file.remove(); //удаление файла, если он уже есть, но необходимо обновить
@@ -249,17 +237,6 @@ void RecognizeSystem::recognize()
break;
}
// //ПРОВЕРКА НА ИЗМЕНЕНИЕ БАЗОВОЙ ВЕРСИИ
// bool check = checkIsChangeable();
// bool check2 = checkNonStaticData(filePath);
// if(!check && check2)
// {
// sendSystem->sendNotify(commandTryBaseChange);
// packetType = PacketType::TYPE_NONE;
// mutex->unlock();
// return;
// }
QFile file(filePath);
QFileInfo fileInfo(file);