From 6176285b89196b5ba2cabba3d7fe5fb6132f4be7 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Sun, 3 Dec 2023 19:55:23 +0100 Subject: [PATCH] Keep test code. --- src/reporting_thread.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/reporting_thread.cpp b/src/reporting_thread.cpp index 6bb8d37..fc7dada 100644 --- a/src/reporting_thread.cpp +++ b/src/reporting_thread.cpp @@ -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 }