forked from qt-creator/qt-creator
Use Utils::Port where possible
This solves the ambiguity between 0 and -1 being the "invalid" port. Change-Id: I3bac11dd4117bb1820fbd58186699925b73df1c5 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -97,13 +97,13 @@ void IosAnalyzeSupport::qmlServerReady()
|
||||
m_runControl->notifyRemoteSetupDone(m_qmlPort);
|
||||
}
|
||||
|
||||
void IosAnalyzeSupport::handleServerPorts(int gdbServerPort, int qmlPort)
|
||||
void IosAnalyzeSupport::handleServerPorts(Utils::Port gdbServerPort, Utils::Port qmlPort)
|
||||
{
|
||||
Q_UNUSED(gdbServerPort);
|
||||
m_qmlPort = qmlPort;
|
||||
}
|
||||
|
||||
void IosAnalyzeSupport::handleGotInferiorPid(qint64 pid, int qmlPort)
|
||||
void IosAnalyzeSupport::handleGotInferiorPid(qint64 pid, Utils::Port qmlPort)
|
||||
{
|
||||
Q_UNUSED(pid);
|
||||
m_qmlPort = qmlPort;
|
||||
|
||||
Reference in New Issue
Block a user