diff --git a/src/plugins/analyzerbase/analyzerconstants.h b/src/plugins/analyzerbase/analyzerconstants.h index 5034e5531dc98fd3236e795b613eed4e0a55c64a..e5b0babdb02551b066ed3303491ce17cb76cbdbf 100644 --- a/src/plugins/analyzerbase/analyzerconstants.h +++ b/src/plugins/analyzerbase/analyzerconstants.h @@ -44,7 +44,6 @@ enum StartMode { StartLocal = -1, StartRemote = -2, - StartQml = -3, StartQmlRemote = -4 // TODO: remove this enum and make it generic }; diff --git a/src/plugins/analyzerbase/ianalyzertool.cpp b/src/plugins/analyzerbase/ianalyzertool.cpp index 25394f0b569df598409bb3c6715edf1949078367..1223a64bddd117a81fd4e49342116487a14f2f46 100644 --- a/src/plugins/analyzerbase/ianalyzertool.cpp +++ b/src/plugins/analyzerbase/ianalyzertool.cpp @@ -68,7 +68,6 @@ Id IAnalyzerTool::actionId(StartMode mode) const return id.withSuffix(".Local"); case StartRemote: return id.withSuffix(".Remote"); - case StartQml: case StartQmlRemote: return id.withSuffix(".Qml"); } diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp index 852ddd62a7520823587dae4477fefefd76053e32..14f7de97dd58773a60c7502814a38f94bc320139 100644 --- a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp +++ b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp @@ -97,7 +97,7 @@ LocalQmlProfilerRunner::~LocalQmlProfilerRunner() void LocalQmlProfilerRunner::start() { - if (m_engine->mode() != Analyzer::StartQml) + if (m_engine->mode() != Analyzer::StartLocal) return; QString arguments = QString::fromLatin1("-qmljsdebugger=port:%1,block").arg(m_configuration.port); @@ -136,7 +136,7 @@ void LocalQmlProfilerRunner::spontaneousStop(int exitCode, QProcess::ExitStatus void LocalQmlProfilerRunner::stop() { - if (m_engine->mode() != Analyzer::StartQml) + if (m_engine->mode() != Analyzer::StartLocal) return; if (QmlProfilerPlugin::debugOutput) diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp b/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp index ba9848f32582074d0f2d2b717ce69fccd0cc08d8..7c5246c1aeb2b1f3294ecc61dd2ae06564c34680 100644 --- a/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerruncontrolfactory.cpp @@ -108,7 +108,7 @@ static AnalyzerStartParameters createQmlProfilerStartParameters(RunConfiguration sp.analyzerHost = server.serverAddress().toString(); sp.analyzerPort = server.serverPort(); } - sp.startMode = StartQml; + sp.startMode = StartLocal; return sp; }