forked from qt-creator/qt-creator
Maemo: Use dynamic port list.
Check whether the ports we need are actually available on the device. As a side effect, this makes it possible to debug more than one application at the same time on Maemo. Task-number: QTCREATORBUG-2702
This commit is contained in:
@@ -282,8 +282,10 @@ void QmlEngine::runEngine()
|
||||
showMessage(tr("QML Debugger connecting..."), StatusBar);
|
||||
}
|
||||
|
||||
void QmlEngine::handleRemoteSetupDone()
|
||||
void QmlEngine::handleRemoteSetupDone(int port)
|
||||
{
|
||||
if (port != -1)
|
||||
startParameters().qmlServerPort = port;
|
||||
notifyInferiorSetupOk();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user