From 90de2f415e604f61cb608f1f9ce88bc83d6d8dbb Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 7 Nov 2023 09:10:01 +0100 Subject: [PATCH] Add new members to worker-class. --- worker.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/worker.cpp b/worker.cpp index 5461be8..a0ed228 100644 --- a/worker.cpp +++ b/worker.cpp @@ -111,22 +111,25 @@ Worker::Worker(int customerNr, int machineNr, int zoneNr, QString branchName, + QString pluginDir, QString pluginName, QString workingDirectory, + bool noUpdatePsaHardware, bool dryRun, QObject *parent, char const *serialInterface, char const *baudrate) - : m_workerThread("workerThread") - , m_customerNr(customerNr) + : m_customerNr(customerNr) , m_customerNrStr(QString("customer_") + QString::number(m_customerNr).rightJustified(3, '0')) , m_machineNr(machineNr) , m_zoneNr(zoneNr) + , m_pluginDir(pluginDir) , m_pluginName(pluginName) , m_workingDirectory(workingDirectory) , m_branchName(branchName) , m_customerRepositoryPath(QString("https://git.mimbach49.de/GerhardHoffmann/%1.git").arg(m_customerNrStr)) , m_customerRepository(QDir::cleanPath(m_workingDirectory + QDir::separator() + m_customerNrStr)) + , m_noUpdatePsaHardware(noUpdatePsaHardware) , m_dryRun(dryRun) , m_parent(parent) , m_serialInterface(serialInterface)