aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerrunner.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2012-08-15 15:42:53 +0200
committerhjk <[email protected]>2012-08-16 12:35:40 +0200
commitf1b5d6a569ed7d616b1a3ee3938cffa4d10cec1a (patch)
tree95005b3b4b0faade55e8bac985aa102b4e10d3e4 /src/plugins/debugger/debuggerrunner.cpp
parent60de95aff6bf31c7f30c1db7ae96f748835bf53e (diff)
debugger: use Profile directly for fillParameters instead of its id
Diffstat (limited to 'src/plugins/debugger/debuggerrunner.cpp')
-rw-r--r--src/plugins/debugger/debuggerrunner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp
index 329bfecf9d2..e32359c7cc8 100644
--- a/src/plugins/debugger/debuggerrunner.cpp
+++ b/src/plugins/debugger/debuggerrunner.cpp
@@ -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();