Debugger: Simplify use of DebuggerEnginePrivate members

Each engine has now the RunTool pointer, not just the master.

Change-Id: I6bab026998d5da5da82224bfaf4a93d3cfb3a898
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-10-06 14:25:55 +02:00
parent ad4ec4eb3c
commit cc7754920c
4 changed files with 10 additions and 24 deletions

View File

@@ -334,7 +334,7 @@ void QmlEngine::handleLauncherStarted()
{
// FIXME: The QmlEngine never calls notifyInferiorPid() triggering the
// raising, so do it here manually for now.
runControl()->applicationProcessHandle().activate();
runTool()->runControl()->applicationProcessHandle().activate();
tryToConnect();
}