forked from qt-creator/qt-creator
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:
@@ -224,7 +224,7 @@ void CallgrindToolRunner::run(Option option)
|
|||||||
#if CALLGRIND_CONTROL_DEBUG
|
#if CALLGRIND_CONTROL_DEBUG
|
||||||
m_controllerProcess->setProcessChannelMode(QProcess::ForwardedChannels);
|
m_controllerProcess->setProcessChannelMode(QProcess::ForwardedChannels);
|
||||||
#endif
|
#endif
|
||||||
connect(m_controllerProcess.get(), &QtcProcess::finished,
|
connect(m_controllerProcess.get(), &QtcProcess::done,
|
||||||
this, &CallgrindToolRunner::controllerProcessDone);
|
this, &CallgrindToolRunner::controllerProcessDone);
|
||||||
|
|
||||||
const FilePath control =
|
const FilePath control =
|
||||||
|
Reference in New Issue
Block a user