Commit 8d3937d1 authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Rename "engine" to "runControl"

Call it the same way it's called everywhere else.

Change-Id: I5e61275c264c337307643c0874b7c764c4e18118
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent bae8f22a
......@@ -65,19 +65,19 @@ Utils::Port LocalQmlProfilerRunner::findFreePort(QString &host)
}
LocalQmlProfilerRunner::LocalQmlProfilerRunner(const Configuration &configuration,
Debugger::AnalyzerRunControl *engine) :
QObject(engine),
Debugger::AnalyzerRunControl *runControl) :
QObject(runControl),
m_configuration(configuration)
{
connect(&m_launcher, &ApplicationLauncher::appendMessage,
this, &LocalQmlProfilerRunner::appendMessage);
connect(this, &LocalQmlProfilerRunner::stopped,
engine, &Debugger::AnalyzerRunControl::notifyRemoteFinished);
runControl, &Debugger::AnalyzerRunControl::notifyRemoteFinished);
connect(this, &LocalQmlProfilerRunner::appendMessage,
engine, &Debugger::AnalyzerRunControl::appendMessage);
connect(engine, &Debugger::AnalyzerRunControl::starting,
runControl, &Debugger::AnalyzerRunControl::appendMessage);
connect(runControl, &Debugger::AnalyzerRunControl::starting,
this, &LocalQmlProfilerRunner::start);
connect(engine, &RunControl::finished,
connect(runControl, &RunControl::finished,
this, &LocalQmlProfilerRunner::stop);
}
......
......@@ -49,7 +49,7 @@ public:
};
LocalQmlProfilerRunner(const Configuration &configuration,
Debugger::AnalyzerRunControl *engine);
Debugger::AnalyzerRunControl *runControl);
static Utils::Port findFreePort(QString &host);
static QString findFreeSocket();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment