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:
Jarek Kobus
2022-06-29 17:00:36 +02:00
parent 6c98721efc
commit 953a3abe92

View File

@@ -85,8 +85,6 @@ Utils::Port IosSimulator::nextPort() const
// to that port from this computer) // to that port from this computer)
portVerifier.setCommand({"lsof", {"-n", "-P", "-i", QString(":%1").arg(m_lastPort)}}); portVerifier.setCommand({"lsof", {"-n", "-P", "-i", QString(":%1").arg(m_lastPort)}});
portVerifier.start(); portVerifier.start();
if (!portVerifier.waitForStarted())
break;
if (!portVerifier.waitForFinished()) if (!portVerifier.waitForFinished())
break; break;
if (portVerifier.exitStatus() != QProcess::NormalExit if (portVerifier.exitStatus() != QProcess::NormalExit