finished():
start summary timer when binary has finished.
This commit is contained in:
parent
e36ff70dd9
commit
7ace073d12
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user