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