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:
hjk
2011-07-04 19:11:08 +02:00
committed by hjk
parent 5418a137dd
commit a89158b887
5 changed files with 70 additions and 39 deletions

View File

@@ -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;
}