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>
This commit is contained in:
hjk
2017-03-01 09:55:32 +01:00
parent 60cc07103a
commit 716f6e7f1c
5 changed files with 21 additions and 14 deletions

View File

@@ -311,7 +311,7 @@ public:
void raiseApplication()
{
QTC_ASSERT(runControl(), return);
runControl()->bringApplicationToForeground(m_inferiorPid.pid());
runControl()->bringApplicationToForeground();
}
void scheduleResetLocation()