Commit eaf9caa6 authored by Ulf Hermann's avatar Ulf Hermann Committed by hjk

QmlProfiler: Drop redundant checks for useStartupProject

Those were misusing the flag to distinguish between local and remote
startup and that was unnecessary as the LocalQmlProfilerRunner is only
instantiated for local startup anyway.

Change-Id: I030931c9db9e8482199e4fbd04665a6c973b67f8
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent bb6e6970
......@@ -119,9 +119,6 @@ LocalQmlProfilerRunner::~LocalQmlProfilerRunner()
void LocalQmlProfilerRunner::start()
{
if (!m_engine->startParameters().useStartupProject)
return;
QString arguments = QString::fromLatin1("-qmljsdebugger=port:%1,block").arg(m_configuration.port);
if (!m_configuration.executableArguments.isEmpty())
......@@ -157,9 +154,6 @@ void LocalQmlProfilerRunner::spontaneousStop(int exitCode, QProcess::ExitStatus
void LocalQmlProfilerRunner::stop()
{
if (!m_engine->startParameters().useStartupProject)
return;
if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: Stopping application ...");
......
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