From 79e2405738535074343f1f31d9208d0b268023c8 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 6 Dec 2024 11:50:25 +0100 Subject: [PATCH] Minor: remove unused code. --- UpdatePTUDevCtrl/update.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/UpdatePTUDevCtrl/update.cpp b/UpdatePTUDevCtrl/update.cpp index 5b9d376..28f7702 100644 --- a/UpdatePTUDevCtrl/update.cpp +++ b/UpdatePTUDevCtrl/update.cpp @@ -133,36 +133,6 @@ Update::Update(Worker *worker, qCritical() << "(" << __func__ << ":" << __LINE__ << ") m_sys_areDCDataValid ..." << m_sys_areDCdataValid; - -#if 0 - QObject const *obj = m_hw->getAPI(); - Q_ASSERT(obj != nullptr); - - QDebug critical = qCritical(); - critical << "connect() to onReportDCDownloadStatus() ..."; - if (!connect(obj, - SIGNAL(hwapi_reportDCDownloadStatus(QString const&)), - this, - SLOT(onReportDCDownloadStatus(QString const &)))) { - critical << "FAILED"; - } else critical << "DONE"; - - critical = qCritical(); - critical << "connect() to onReportDCDownloadSuccess() ..."; - if (!connect(obj, - SIGNAL(hwapi_reportDCDownloadSuccess(QString const&)), this, - SLOT(onReportDCDownloadSuccess(QString const &)))) { - critical << "FAILED"; - } else critical << "DONE"; - - critical = qCritical(); - critical << "connect() to onReportDCDownloadFailure() ..."; - if (!connect(obj, - SIGNAL(hwapi_reportDCDownloadFailure(QString const &)), this, - SLOT(onReportDCDownloadFailure(QString const &)))) { - critical << "FAILED"; - } else critical << "DONE"; -#endif } }