summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxanalyzesupport.cpp')
-rw-r--r--src/plugins/remotelinux/remotelinuxanalyzesupport.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp b/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
index e63baf8949..a1d963786e 100644
--- a/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
+++ b/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
@@ -57,14 +57,13 @@ class RemoteLinuxAnalyzeSupportPrivate
public:
RemoteLinuxAnalyzeSupportPrivate(AnalyzerRunControl *rc, Core::Id runMode)
: runControl(rc),
- qmlProfiling(runMode == ProjectExplorer::Constants::QML_PROFILER_RUN_MODE),
- qmlPort(-1)
+ qmlProfiling(runMode == ProjectExplorer::Constants::QML_PROFILER_RUN_MODE)
{
}
const QPointer<AnalyzerRunControl> runControl;
bool qmlProfiling;
- int qmlPort;
+ Utils::Port qmlPort;
QmlDebug::QmlOutputParser outputParser;
};
@@ -135,8 +134,8 @@ void RemoteLinuxAnalyzeSupport::startExecution()
auto r = runnable();
if (!r.commandLineArguments.isEmpty())
r.commandLineArguments.append(QLatin1Char(' '));
- r.commandLineArguments
- += QmlDebug::qmlDebugTcpArguments(QmlDebug::QmlProfilerServices, d->qmlPort);
+ r.commandLineArguments += QmlDebug::qmlDebugTcpArguments(QmlDebug::QmlProfilerServices,
+ d->qmlPort);
runner->start(device(), r);
}