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:
hjk
2017-05-16 07:53:03 +02:00
parent 567a99c5aa
commit 4dac9c40bb
5 changed files with 5 additions and 3 deletions

View File

@@ -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());