Skip to content
Snippets Groups Projects
Commit a0134647 authored by Aurindam Jana's avatar Aurindam Jana Committed by Aurindam Jana
Browse files

QmlEngine: Engine State transitions


Rectify wrong state transitions for "Attach to QML Port".

Change-Id: Ife55344fb5089513743ff14f6bb5f2cabeed0adb
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
parent cfb8417d
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,8 @@ void QmlEngine::connectionEstablished()
}
connect(watchersModel(),SIGNAL(layoutChanged()),this,SLOT(synchronizeWatchers()));
notifyEngineRunAndInferiorRunOk();
if (state() == EngineRunRequested)
notifyEngineRunAndInferiorRunOk();
}
void QmlEngine::beginConnection()
......@@ -247,7 +248,12 @@ void QmlEngine::retryMessageBoxFinished(int result)
// fall through
}
default:
if (state() == InferiorRunOk) {
notifyInferiorSpontaneousStop();
notifyInferiorIll();
} else {
notifyEngineRunFailed();
}
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment