aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-05-27 17:25:39 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-05-30 07:26:50 +0000
commit3d59c99143e221f2fd246f708e2664dd6bc246c0 (patch)
tree81291c2c549796683e97686aae6766a4d768c47c /src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
parentc422b81316ca6c8994cb0be5fdec5963f7c32e8e (diff)
QmlProfiler: Pass AnalyzerRunControl to LocalQmlProfilerRunner
It doesn't make much sense to require a non-exported class to be passed to the ctor of an exported one. Change-Id: I15463f3ec0153a71cb55ad83724ec071a504a483 Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/localqmlprofilerrunner.cpp')
-rw-r--r--src/plugins/qmlprofiler/localqmlprofilerrunner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
index 9a7bcfa938..114e92ca0f 100644
--- a/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
+++ b/src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
@@ -25,7 +25,6 @@
#include "localqmlprofilerrunner.h"
#include "qmlprofilerplugin.h"
-#include "qmlprofilerruncontrol.h"
#include <projectexplorer/runconfiguration.h>
#include <projectexplorer/environmentaspect.h>
@@ -33,6 +32,7 @@
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/target.h>
#include <qmldebug/qmldebugcommandlinearguments.h>
+#include <debugger/analyzer/analyzerruncontrol.h>
#include <QTcpServer>
#include <QTemporaryFile>
@@ -65,16 +65,16 @@ Utils::Port LocalQmlProfilerRunner::findFreePort(QString &host)
}
LocalQmlProfilerRunner::LocalQmlProfilerRunner(const Configuration &configuration,
- QmlProfilerRunControl *engine) :
+ Debugger::AnalyzerRunControl *engine) :
QObject(engine),
m_configuration(configuration)
{
connect(&m_launcher, &ApplicationLauncher::appendMessage,
this, &LocalQmlProfilerRunner::appendMessage);
connect(this, &LocalQmlProfilerRunner::stopped,
- engine, &QmlProfilerRunControl::notifyRemoteFinished);
+ engine, &Debugger::AnalyzerRunControl::notifyRemoteFinished);
connect(this, &LocalQmlProfilerRunner::appendMessage,
- engine, &QmlProfilerRunControl::appendMessage);
+ engine, &Debugger::AnalyzerRunControl::appendMessage);
connect(engine, &Debugger::AnalyzerRunControl::starting,
this, &LocalQmlProfilerRunner::start);
connect(engine, &RunControl::finished,