aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-03-01 09:55:32 +0100
committerhjk <hjk@qt.io>2017-03-01 16:26:18 +0000
commit716f6e7f1cfb757de51f8598cd74d7e3dff8d23a (patch)
tree594ed0537f175758fdd70b036d020821a0b3e5fd /src/plugins/projectexplorer/applicationlauncher.cpp
parent60cc07103a5397871dc10ebc57e08f4708d28c49 (diff)
ProjectExplorer: Make RunControl::bringApplicationToForeground virtual
No practical change as the only case that is used so far are local setups on Mac. It's a conceptual change, though, giving concrete RunControl implementation the chance to act "sensibly", e.g. by raising a locally running simulator control in case of remote setups or such. Change-Id: I5679428934fe08b8c9756f3906ee3d9073278822 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.cpp')
-rw-r--r--src/plugins/projectexplorer/applicationlauncher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.cpp b/src/plugins/projectexplorer/applicationlauncher.cpp
index e1dfc40c56..e8d38de4c6 100644
--- a/src/plugins/projectexplorer/applicationlauncher.cpp
+++ b/src/plugins/projectexplorer/applicationlauncher.cpp
@@ -281,8 +281,8 @@ void ApplicationLauncher::processDone(int exitCode, QProcess::ExitStatus status)
void ApplicationLauncher::bringToForeground()
{
- emit bringToForegroundRequested(applicationPID());
handleProcessStarted();
+ emit bringToForegroundRequested();
}
QString ApplicationLauncher::msgWinCannotRetrieveDebuggingOutput()