diff options
author | hjk <hjk@qt.io> | 2017-06-13 11:43:04 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-06-16 12:19:16 +0000 |
commit | 25a75d3fa38e6c61097f4578fddb24a1445eec58 (patch) | |
tree | e024067db767df320b200f7b514e170cf5830f72 /src/plugins/ios | |
parent | bb4edc33fd237315aa0c1229b887bf05047dd699 (diff) | |
download | qt-creator-25a75d3fa38e6c61097f4578fddb24a1445eec58.tar.gz |
Debugger, QmlProfiler et al: Replace AnalyzerStartParameter
... and QmlProfilerRunner::Configuaration by PE::UrlConnection,
and call it 'serverUrl' on the user side.
That's the only variant we ever had and avoids "translations"
between three structures that are essential the same.
Change-Id: I33386b2b8d2a7985ff934f6f8f840de0831bf9c1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/ios')
-rw-r--r-- | src/plugins/ios/iosrunfactories.cpp | 1 | ||||
-rw-r--r-- | src/plugins/ios/iosrunner.cpp | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/ios/iosrunfactories.cpp b/src/plugins/ios/iosrunfactories.cpp index f559d9754f..740b21ae80 100644 --- a/src/plugins/ios/iosrunfactories.cpp +++ b/src/plugins/ios/iosrunfactories.cpp @@ -31,7 +31,6 @@ #include "iosmanager.h" #include <debugger/analyzer/analyzermanager.h> -#include <debugger/analyzer/analyzerstartparameters.h> #include <debugger/debuggerconstants.h> #include <projectexplorer/customexecutablerunconfiguration.h> diff --git a/src/plugins/ios/iosrunner.cpp b/src/plugins/ios/iosrunner.cpp index f2635a9600..9f30b7ba11 100644 --- a/src/plugins/ios/iosrunner.cpp +++ b/src/plugins/ios/iosrunner.cpp @@ -32,7 +32,6 @@ #include "iossimulator.h" #include "iosconstants.h" -#include <debugger/analyzer/analyzerstartparameters.h> #include <debugger/debuggerplugin.h> #include <debugger/debuggerkitinformation.h> #include <debugger/debuggerruncontrol.h> @@ -367,10 +366,8 @@ IosAnalyzeSupport::IosAnalyzeSupport(RunControl *runControl) StandardRunnable runnable; runnable.executable = iosRunConfig->localExecutable().toUserOutput(); runnable.commandLineArguments = iosRunConfig->commandLineArguments(); - Debugger::AnalyzerConnection connection; - connection.analyzerHost = "localhost"; runControl->setRunnable(runnable); - runControl->setConnection(connection); + runControl->setConnection(UrlConnection::localHostWithoutPort()); runControl->setDisplayName(iosRunConfig->applicationName()); connect(&m_outputParser, &QmlDebug::QmlOutputParser::waitingForConnectionOnPort, |