debugger: use Profile directly for fillParameters instead of its id

Change-Id: Ifaf663ee1827976e45e68e309b19c2f233a05ac1
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-08-15 15:42:53 +02:00
parent 60de95aff6
commit f1b5d6a569
8 changed files with 32 additions and 28 deletions

View File

@@ -486,7 +486,7 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu
Target *target = runConfiguration->target();
Profile *profile = target ? target->profile() : ProfileManager::instance()->defaultProfile();
fillParameters(&sp, profile ? profile->id() : Core::Id());
fillParameters(&sp, profile);
sp.environment = rc->environment();
sp.workingDirectory = rc->workingDirectory();