finished():

start summary timer when binary  has finished.
This commit is contained in:
Gerhard Hoffmann 2025-03-07 12:19:54 +01:00
parent e36ff70dd9
commit 7ace073d12

View File

@ -1,5 +1,6 @@
#include "process/update_dc_command.h"
#include "worker.h"
#include "utils_internal.h"
UpdateDCCommand::UpdateDCCommand(QString const &command,
Worker *worker,
@ -10,6 +11,10 @@ UpdateDCCommand::UpdateDCCommand(QString const &command,
}
void UpdateDCCommand::finished(int exitCode, QProcess::ExitStatus exitStatus) {
Worker *w = worker();
if (w) {
w->summaryTimer()->start();
}
return UpdateCommand::finished(exitCode, exitStatus);
}