summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/qml/qmlcppengine.cpp
diff options
context:
space:
mode:
authorAurindam Jana <aurindam.jana@nokia.com>2012-03-02 10:59:55 +0100
committerKai Koehne <kai.koehne@nokia.com>2012-03-02 12:25:04 +0100
commitcc3efc47f28af7cd39aa7ca25e91d10e00a1d9fa (patch)
tree9a1c84a38bc04f16d1561558bdf2ac61433b7dae /src/plugins/debugger/qml/qmlcppengine.cpp
parent014862b773c90fbb75674a296064a02ff3db43fb (diff)
downloadqt-creator-cc3efc47f28af7cd39aa7ca25e91d10e00a1d9fa.tar.gz
QmlCppDebugging: Always Delegate call to Cpp Engine
Mixed Engine delegates all calls to CppEngine. The state transitions of the cpp engine ensure that the qmlengine is called correctly. Change-Id: I7490858a91f5120a83b781ca605ad157e19d7949 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlcppengine.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlcppengine.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp
index 08a3cd7e47..d8e07e2862 100644
--- a/src/plugins/debugger/qml/qmlcppengine.cpp
+++ b/src/plugins/debugger/qml/qmlcppengine.cpp
@@ -459,34 +459,24 @@ void QmlCppEngine::runEngine()
void QmlCppEngine::shutdownInferior()
{
EDEBUG("\nMASTER SHUTDOWN INFERIOR");
- d->m_cppEngine->quitDebugger();
- d->m_qmlEngine->quitDebugger();
+ d->m_cppEngine->shutdownInferior();
}
void QmlCppEngine::shutdownEngine()
{
EDEBUG("\nMASTER SHUTDOWN ENGINE");
- d->m_qmlEngine->shutdownSlaveEngine();
d->m_cppEngine->shutdownSlaveEngine();
}
void QmlCppEngine::quitDebugger()
{
- // we might get called multiple times
- if (targetState() == DebuggerFinished)
- return;
-
EDEBUG("\nMASTER QUIT DEBUGGER");
- setTargetState(DebuggerFinished);
- d->m_qmlEngine->quitDebugger();
d->m_cppEngine->quitDebugger();
}
void QmlCppEngine::abortDebugger()
{
EDEBUG("\nMASTER ABORT DEBUGGER");
- setTargetState(DebuggerFinished);
- d->m_qmlEngine->abortDebugger();
d->m_cppEngine->abortDebugger();
}