mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
bugfix: add delay for recalculate hash
This commit is contained in:
@@ -119,6 +119,11 @@ void UpdateController::updateFilesOnServer(QList<FileData> *fileSendList){
|
||||
calculateCommonHash();
|
||||
|
||||
sendSystem->sendFinish();
|
||||
|
||||
QTime dieTime= QTime::currentTime().addSecs(10);
|
||||
while (QTime::currentTime() < dieTime)
|
||||
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
|
||||
|
||||
emit sigUpdateComplete(true);
|
||||
}
|
||||
catch (...)
|
||||
|
||||
Reference in New Issue
Block a user