forked from qt-creator/qt-creator
Debugger: Fix "attach to QML port"
In this case we don't get any application output / message
telling us that the server is waiting, so let's try to connect
directly.
This is a regression introduced in commit 742019e301
Change-Id: I85d9f846c72e8b227dae5d6e847ab9366a34e2cc
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -412,7 +412,9 @@ void QmlEngine::runEngine()
|
||||
QTC_ASSERT(state() == EngineRunRequested, qDebug() << state());
|
||||
|
||||
if (!isSlaveEngine()) {
|
||||
if (startParameters().startMode != AttachToRemoteServer)
|
||||
if (startParameters().startMode == AttachToRemoteServer)
|
||||
beginConnection();
|
||||
else
|
||||
startApplicationLauncher();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user