forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user