From d7e709d997771638d905f6d74e3f7eb3cec937ca Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 9 Feb 2024 13:01:15 +0100 Subject: [PATCH] Minor: make a 2-sec nap before starting reporting threadw --- update.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.cpp b/update.cpp index 7b29520..0284b56 100644 --- a/update.cpp +++ b/update.cpp @@ -664,6 +664,8 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) { qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate) << "(" << __func__ << ":" << __LINE__ << ") DOWNLOAD RUNNING"; + QThread::sleep(2); + if (!m_hw->dcDownloadReportThreadStart()) { // may take some time qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate) << "(" << __func__ << ":" << __LINE__ << ") REPORT THREAD NOT STARTED";