Keep test code.

This commit is contained in:
Gerhard Hoffmann 2023-12-03 19:55:23 +01:00
parent 0344150950
commit 6176285b89

View File

@ -13,7 +13,13 @@ ReportingThread::~ReportingThread() {
// download thread running in ca-slave sends reports download process to
// update tool
void ReportingThread::run() {
hwapi *hw = m_hw->getAPI();
emit hw->hwapi_reportDCDownloadStatus("test");
qCritical() << "nach emit";
QThread::sleep(4);
#if 0
int cnt = 10;
while (!m_hw->dcDownloadRunning()) {
if (--cnt > 0) {
@ -52,4 +58,5 @@ void ReportingThread::run() {
QString("ERROR DOWNLOADING %1 (total blocks=%2, sent blocks=%3)")
.arg(m_fileToDownload).arg(tnr).arg(cnr));
}
#endif
}