From cd4bddd1695394ca2701faae714549634db47291 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Sat, 2 Dec 2023 09:44:59 +0100 Subject: [PATCH] Minor: only hwinf as parameter needed --- src/reporting_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {