forked from qt-creator/qt-creator
Valgrind: Create only one extra configuration aspect
Let only the Callgrind tool create one, Memcheck shares it now. Task-number: QTCREATORBUG-17053 Change-Id: I29d17ef5801ab295c2523f0748616b9e2aab29ce Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -711,10 +711,11 @@ public:
|
||||
return m_tool->createRunControl(runConfiguration, mode);
|
||||
}
|
||||
|
||||
IRunConfigurationAspect *createRunConfigurationAspect(ProjectExplorer::RunConfiguration *rc) override
|
||||
{
|
||||
return createValgrindRunConfigurationAspect(rc);
|
||||
}
|
||||
// Do not create an aspect, let the Callgrind tool create one and use that, too.
|
||||
// IRunConfigurationAspect *createRunConfigurationAspect(ProjectExplorer::RunConfiguration *rc) override
|
||||
// {
|
||||
// return createValgrindRunConfigurationAspect(rc);
|
||||
// }
|
||||
|
||||
public:
|
||||
MemcheckTool *m_tool;
|
||||
|
Reference in New Issue
Block a user