summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/qml/qmlengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlengine.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index 9f62e03252..69b34659f2 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -322,16 +322,6 @@ void QmlEngine::setState(DebuggerState state, bool forced)
updateCurrentContext();
}
-void QmlEngine::setupInferior()
-{
- QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
-
- notifyInferiorSetupOk();
-
- if (d->automaticConnect)
- beginConnection();
-}
-
void QmlEngine::handleLauncherStarted()
{
// FIXME: The QmlEngine never calls notifyInferiorPid() triggering the
@@ -593,6 +583,9 @@ void QmlEngine::shutdownEngine()
void QmlEngine::setupEngine()
{
notifyEngineSetupOk();
+
+ if (d->automaticConnect)
+ beginConnection();
}
void QmlEngine::continueInferior()