Minor: make a 2-sec nap before starting reporting threadw

This commit is contained in:
Gerhard Hoffmann 2024-02-09 13:01:15 +01:00
parent 4d93aa1392
commit d7e709d997

View File

@ -664,6 +664,8 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate) qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate)
<< "(" << __func__ << ":" << __LINE__ << ") DOWNLOAD RUNNING"; << "(" << __func__ << ":" << __LINE__ << ") DOWNLOAD RUNNING";
QThread::sleep(2);
if (!m_hw->dcDownloadReportThreadStart()) { // may take some time if (!m_hw->dcDownloadReportThreadStart()) { // may take some time
qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate) qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate)
<< "(" << __func__ << ":" << __LINE__ << ") REPORT THREAD NOT STARTED"; << "(" << __func__ << ":" << __LINE__ << ") REPORT THREAD NOT STARTED";