Debugger: Fix automatic connection to QML when we don't get app output

Change-Id: I34dff23401c34d3d0c940fac40a6d1d95e830ccb
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Kai Koehne
2012-05-10 13:25:31 +02:00
committed by Aurindam Jana
parent f1a0c2ac0c
commit ee76110cf2

View File

@@ -403,8 +403,7 @@ void QmlEngine::tryToConnect(quint16 port)
{
showMessage(QLatin1String("QML Debugger: No application output received in time, trying to connect ..."), LogStatus);
m_retryOnConnectFail = true;
if (state() == EngineRunRequested
&& !m_automaticConnect)
if (state() == EngineRunRequested)
beginConnection(port);
else
m_automaticConnect = true;