PerfProfiler: Remove now-useless check for process success

The check nowadays always succeeds, the potential failure is handled
in the normal done() handling.

Change-Id: I858633871a6b66817c795e7057964afebf79eb85
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2022-05-30 17:22:21 +02:00
parent a33594fa76
commit 0f470982de

View File

@@ -23,9 +23,9 @@
**
****************************************************************************/
#include "perfdatareader.h"
#include "perfprofilerconstants.h"
#include "perfprofilerruncontrol.h"
#include "perfdatareader.h"
#include "perfprofilertool.h"
#include "perfrunconfigurationaspect.h"
#include "perfsettings.h"
@@ -124,10 +124,6 @@ public:
void start() override
{
m_process = new QtcProcess(this);
if (!m_process) {
reportFailure(tr("Could not start device process."));
return;
}
connect(m_process, &QtcProcess::started, this, &RunWorker::reportStarted);
connect(m_process, &QtcProcess::done, this, [this] {