Minor: make a 2-sec nap before starting reporting threadw
This commit is contained in:
parent
4d93aa1392
commit
d7e709d997
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user