forked from qt-creator/qt-creator
Analyzer: Separate out run control factories
Separating out the run control factories is the initial step towards separation of run control from QML profiler engine. The goal is to to make the engine agnostic of the run control. Change-Id: Ic8279755f0188ab53253a62322fcccf1c17b6aaf Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "qmlprofilerplugin.h"
|
||||
#include "qmlprofilerruncontrolfactory.h"
|
||||
|
||||
#include "qmlprofilertool.h"
|
||||
|
||||
@@ -50,6 +51,8 @@ bool QmlProfilerPlugin::initialize(const QStringList &arguments, QString *errorS
|
||||
modes.append(StartMode(StartRemote));
|
||||
AnalyzerManager::addTool(new QmlProfilerTool(this), modes);
|
||||
|
||||
addAutoReleasedObject(new QmlProfilerRunControlFactory());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user