Valgrind: Use the majority way to register run workers

Change-Id: I6423620a9a1917ab09b93038b020c36e9208b728
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-05-29 13:54:07 +02:00
parent 9763851dc5
commit 07079a1613
3 changed files with 54 additions and 53 deletions

View File

@@ -42,6 +42,8 @@ using namespace Valgrind::Callgrind;
namespace Valgrind {
namespace Internal {
void setupCallgrindRunner(CallgrindToolRunner *);
CallgrindToolRunner::CallgrindToolRunner(RunControl *runControl)
: ValgrindToolRunner(runControl)
{
@@ -67,6 +69,8 @@ CallgrindToolRunner::CallgrindToolRunner(RunControl *runControl)
});
m_controller.setValgrindRunnable(runnable());
setupCallgrindRunner(this);
}
QStringList CallgrindToolRunner::toolArguments() const