ProjectExplorer: Remove RunControl::bringApplicationToForeground

... and replace it by direct uses of ProcessHandle::activate().

Change-Id: I7beffba7bfbeff72a81b8699ff54a311a74ce1a3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-07-13 17:39:42 +02:00
parent d93da5f5f1
commit 528b0918bf
4 changed files with 5 additions and 23 deletions

View File

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