CallgrindToolRunner: Connect to done() signal instead of finished()

This should also handle a failed to start case.

Change-Id: I120a342cb9ec0ec980eae00d357905ca08bac5ed
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-06-20 15:03:39 +02:00
parent 591fc12ffa
commit 3156c33d12

View File

@@ -224,7 +224,7 @@ void CallgrindToolRunner::run(Option option)
#if CALLGRIND_CONTROL_DEBUG
m_controllerProcess->setProcessChannelMode(QProcess::ForwardedChannels);
#endif
connect(m_controllerProcess.get(), &QtcProcess::finished,
connect(m_controllerProcess.get(), &QtcProcess::done,
this, &CallgrindToolRunner::controllerProcessDone);
const FilePath control =