forked from qt-creator/qt-creator
QmlProfiler: Use StartLocal instead of StartQml start mode.
Change-Id: Iee7895e9cafc373c32749f3dcc44a690dfc551bc Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user