Commit d75d70c5 authored by Kai Koehne's avatar Kai Koehne

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 742019e3

Change-Id: I85d9f846c72e8b227dae5d6e847ab9366a34e2cc
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 44c14962
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment