forked from qt-creator/qt-creator
IosRunner: Remove unused local variables
Amends e66ae4ac76
Change-Id: I1e81e4bc2d940bd04efe138cbaa542ed82a3a177
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -725,16 +725,12 @@ IosQmlProfilerSupport::IosQmlProfilerSupport(RunControl *runControl)
|
|||||||
|
|
||||||
void IosQmlProfilerSupport::start()
|
void IosQmlProfilerSupport::start()
|
||||||
{
|
{
|
||||||
QUrl serverUrl;
|
|
||||||
QTcpServer server;
|
QTcpServer server;
|
||||||
const bool isListening = server.listen(QHostAddress::LocalHost)
|
const bool isListening = server.listen(QHostAddress::LocalHost)
|
||||||
|| server.listen(QHostAddress::LocalHostIPv6);
|
|| server.listen(QHostAddress::LocalHostIPv6);
|
||||||
QTC_ASSERT(isListening, return);
|
QTC_ASSERT(isListening, return);
|
||||||
serverUrl.setScheme(Utils::urlTcpScheme());
|
|
||||||
serverUrl.setHost(server.serverAddress().toString());
|
|
||||||
|
|
||||||
Port qmlPort = m_runner->qmlServerPort();
|
const Port qmlPort = m_runner->qmlServerPort();
|
||||||
serverUrl.setPort(qmlPort.number());
|
|
||||||
if (qmlPort.isValid())
|
if (qmlPort.isValid())
|
||||||
reportStarted();
|
reportStarted();
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user