diff --git a/src/reporting_thread.cpp b/src/reporting_thread.cpp index 18a96b0..6bb8d37 100644 --- a/src/reporting_thread.cpp +++ b/src/reporting_thread.cpp @@ -2,9 +2,9 @@ #include "shared_mem_buffer.h" #include "hwapi.h" -ReportingThread::ReportingThread(hwinf *hw, QString const &fileToDownload) +ReportingThread::ReportingThread(hwinf *hw) : m_hw(hw) - , m_fileToDownload(fileToDownload) { + , m_fileToDownload(m_hw->dcDownloadFileName()) { } ReportingThread::~ReportingThread() {