forked from qt-creator/qt-creator
Valgrind: Announce 'started', not 'stopped' on startup
Also provide a name for the workers. Change-Id: I323c498db1eeb8225170aae080fdf084aa53e14a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -770,7 +770,7 @@ ValgrindToolRunner *CallgrindTool::createRunTool(RunControl *runControl)
|
||||
connect(this, &CallgrindTool::resetRequested, toolRunner, &CallgrindToolRunner::reset);
|
||||
connect(this, &CallgrindTool::pauseToggled, toolRunner, &CallgrindToolRunner::setPaused);
|
||||
|
||||
connect(m_stopAction, &QAction::triggered, toolRunner, [toolRunner] { toolRunner->stop(); });
|
||||
connect(m_stopAction, &QAction::triggered, toolRunner, [runControl] { runControl->stop(); });
|
||||
|
||||
// initialize run control
|
||||
toolRunner->setPaused(m_pauseAction->isChecked());
|
||||
|
||||
Reference in New Issue
Block a user