From 16a955686321315a4a0b89247d3de2e88ef3ed98 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Mon, 30 Oct 2023 15:14:19 +0100 Subject: [PATCH] bool customerEnvironment(); bool filesToUpdate(); bool updateFiles(); bool syncCustomerRepositoryAndFS(); bool saveLogFile(): remove progress parameter. --- worker.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/worker.h b/worker.h index e56383e..9901ec2 100644 --- a/worker.h +++ b/worker.h @@ -340,7 +340,7 @@ public: IsmasClient const &getIsmasClient() const { return m_ismasClient; } bool updateProcessRunning() const { return m_updateProcessRunning; } - int returnCode() const { return m_returnCode; } + UPDATE_STEP currentStep() const { return m_currentStep; } int machineNr() const { return m_machineNr; } int customerNr() const { return m_customerNr; } @@ -369,18 +369,16 @@ public slots: private slots: bool updateTriggerSet(); - bool customerEnvironment(int progress); - bool filesToUpdate(int progress); - bool updateFiles(int percent); - bool syncCustomerRepositoryAndFS(int progress); - bool sendIsmasLastVersionNotification(int progress); - bool saveLogFile(int progress); + bool customerEnvironment(); + bool filesToUpdate(); + bool updateFiles(); + bool syncCustomerRepositoryAndFS(); + // bool sendIsmasLastVersionNotification(int progress); + bool saveLogFile(); private: PSAInstalled getPSAInstalled(); void privateUpdate(); - std::optional getApismVersion(); - void printProgress(UPDATE_STEP step); static const QMap smap;