aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-06-18 16:34:54 +0200
committerhjk <hjk@theqtcompany.com>2015-06-18 14:39:03 +0000
commiteaf9caa6f9ed5aa46fccf2c8d5547e6f7bfa56f6 (patch)
treec76a5c23974016c13580af05b338e5849f21f64d /src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
parentbb6e69700636126073bb9a42f4bb5a16e536c53d (diff)
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>
Diffstat (limited to 'src/plugins/qmlprofiler/localqmlprofilerrunner.cpp')
-rw-r--r--src/plugins/qmlprofiler/localqmlprofilerrunner.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
index 61cde90b2a..30d1695c10 100644
--- a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
+++ b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
@@ -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 ...");