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:
@@ -105,7 +105,7 @@ void QnxDebugSupport::startExecution()
|
||||
|
||||
QStringList arguments;
|
||||
if (m_useCppDebugger)
|
||||
arguments << QString::number(m_pdebugPort);
|
||||
arguments << QString::number(m_pdebugPort.number());
|
||||
else if (m_useQmlDebugger && !m_useCppDebugger)
|
||||
arguments = Utils::QtcProcess::splitArgs(
|
||||
m_runControl->startParameters().inferior.commandLineArguments);
|
||||
|
||||
Reference in New Issue
Block a user