From f474da1f9c1e903a7be9e73299399a77a526d112 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sun, 15 Apr 2018 02:18:52 +0200 Subject: [PATCH] Do *not* emit processFinished() from start() method in case of error. It will be emitted from destructor in any case! --- src/Thread_Process.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Thread_Process.cpp b/src/Thread_Process.cpp index da76056b..032d6943 100644 --- a/src/Thread_Process.cpp +++ b/src/Thread_Process.cpp @@ -160,11 +160,6 @@ bool ProcessThread::start(QThreadPool *const pool) break; } - if(!bSuccess) - { - emit processFinished(); - } - return bSuccess; }