forked from qt-creator/qt-creator
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: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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 ...");
|
||||
|
||||
|
Reference in New Issue
Block a user