forked from qt-creator/qt-creator
debugger: use Profile directly for fillParameters instead of its id
Change-Id: Ifaf663ee1827976e45e68e309b19c2f233a05ac1 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user