From c06c655a1e1a3e4d60257c2916923b789c6a26b9 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 11 May 2012 00:13:40 +0300 Subject: [PATCH] Emit signal_finished from InternalTask --- source/internaltask.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/internaltask.cpp b/source/internaltask.cpp index 68a5e25..4293203 100644 --- a/source/internaltask.cpp +++ b/source/internaltask.cpp @@ -11,6 +11,8 @@ InternalTask::~InternalTask() Task::Status InternalTask::check() { + if(worker->get_status()!=RUNNING) + signal_finished.emit(worker->get_status()==SUCCESS); return worker->get_status(); } -- 2.45.2