forked from qt-creator/qt-creator
IosSimulator: Get rid of call to waitForStarted()
This is unneeded when followed by waitForFinished(). Change-Id: Ief0e786290d590ed749dc2373bf53936e320b841 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -85,8 +85,6 @@ Utils::Port IosSimulator::nextPort() const
|
||||
// to that port from this computer)
|
||||
portVerifier.setCommand({"lsof", {"-n", "-P", "-i", QString(":%1").arg(m_lastPort)}});
|
||||
portVerifier.start();
|
||||
if (!portVerifier.waitForStarted())
|
||||
break;
|
||||
if (!portVerifier.waitForFinished())
|
||||
break;
|
||||
if (portVerifier.exitStatus() != QProcess::NormalExit
|
||||
|
||||
Reference in New Issue
Block a user