forked from qt-creator/qt-creator
Valgrind: Split MemCheck and CallGrind factories
The tools are separated everywhere, lumping them into the same RunControlFactory removes modularity artificially. Change-Id: I8d9e917bb114a1898a0c293f18d3bf78a52075aa Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -95,15 +95,14 @@ bool ValgrindPlugin::initialize(const QStringList &, QString *)
|
||||
theGlobalSettings->readSettings();
|
||||
|
||||
addAutoReleasedObject(new ValgrindOptionsPage);
|
||||
addAutoReleasedObject(new ValgrindRunControlFactory);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void ValgrindPlugin::extensionsInitialized()
|
||||
{
|
||||
initMemcheckTool(this);
|
||||
initCallgrindTool(this);
|
||||
initMemcheckTool();
|
||||
initCallgrindTool();
|
||||
}
|
||||
|
||||
ExtensionSystem::IPlugin::ShutdownFlag ValgrindPlugin::aboutToShutdown()
|
||||
|
||||
Reference in New Issue
Block a user