summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-09-12 11:48:32 +0200
committerhjk <hjk@qt.io>2018-09-13 12:36:35 +0000
commit2c4dadccb623147a14b498a02290e6275d4d0bc2 (patch)
treefbbaec6df1e0f9482adf469e3d82718fddc87016 /src/plugins/debugger/debuggerrunconfigurationaspect.cpp
parent425463ce8daf6ca862526d07c4d24d09215da151 (diff)
downloadqt-creator-2c4dadccb623147a14b498a02290e6275d4d0bc2.tar.gz
ProjectExplorer: Update "generic" run configuration aspects
None of the run configuration aspects that are added to each runconfig depend on the actual runconfig, only two need the target, the rest nothing at all. So use target as common denominator. Change-Id: I31829e63ac79d5c707bb068d73fc6a4687cb4c47 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerrunconfigurationaspect.cpp')
-rw-r--r--src/plugins/debugger/debuggerrunconfigurationaspect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
index 93c109df0c..9428954cfa 100644
--- a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
+++ b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
@@ -208,8 +208,8 @@ void DebuggerRunConfigWidget::useMultiProcessToggled(bool on)
\class Debugger::DebuggerRunConfigurationAspect
*/
-DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(RunConfiguration *rc)
- : m_target(rc->target())
+DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(Target *target)
+ : m_target(target)
{
setId("DebuggerAspect");
setDisplayName(tr("Debugger settings"));