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 } }