forked from qt-creator/qt-creator
analyzer: handle all possibilities to start qml profiler in QmlProfilerTool
Change-Id: I286bdc4dc3fbab2e784e72f47ff02644cc2899e5 Reviewed-on: http://codereview.qt.nokia.com/1096 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -51,8 +51,9 @@ bool QmlProfilerPlugin::initialize(const QStringList &arguments, QString *errorS
|
||||
Q_UNUSED(errorString)
|
||||
addAutoReleasedObject(new QmlProjectAnalyzerRunControlFactory());
|
||||
StartModes modes;
|
||||
// They are handled the same actually.
|
||||
//modes.append(StartMode(StartRemote));
|
||||
modes.append(StartMode(StartLocal));
|
||||
modes.append(StartMode(StartRemote));
|
||||
AnalyzerManager::addTool(new QmlProfilerTool(this), modes);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user