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 "process/update_dc_command.h"
|
||||||
#include "worker.h"
|
#include "worker.h"
|
||||||
|
#include "utils_internal.h"
|
||||||
|
|
||||||
UpdateDCCommand::UpdateDCCommand(QString const &command,
|
UpdateDCCommand::UpdateDCCommand(QString const &command,
|
||||||
Worker *worker,
|
Worker *worker,
|
||||||
@ -10,6 +11,10 @@ UpdateDCCommand::UpdateDCCommand(QString const &command,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UpdateDCCommand::finished(int exitCode, QProcess::ExitStatus exitStatus) {
|
void UpdateDCCommand::finished(int exitCode, QProcess::ExitStatus exitStatus) {
|
||||||
|
Worker *w = worker();
|
||||||
|
if (w) {
|
||||||
|
w->summaryTimer()->start();
|
||||||
|
}
|
||||||
return UpdateCommand::finished(exitCode, exitStatus);
|
return UpdateCommand::finished(exitCode, exitStatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user