Commit df40ebde authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Remove some dead code.

Change-Id: I21f26bd40b78d760e72a6cc135a06a368c31eaf2
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 9494303b
......@@ -78,11 +78,8 @@ static AnalyzerStartParameters createQmlProfilerStartParameters(RunConfiguration
sp.debuggee = rc->executable();
sp.debuggeeArgs = rc->commandLineArguments();
sp.displayName = rc->displayName();
sp.analyzerPort = LocalQmlProfilerRunner::findFreePort(sp.analyzerHost);
quint16 localPort = LocalQmlProfilerRunner::findFreePort(sp.analyzerHost);
if (localPort == 0)
return sp;
sp.analyzerPort = localPort;
return sp;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment