diff options
author | hjk <hjk@qt.io> | 2019-07-29 15:13:17 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-07-31 11:18:16 +0000 |
commit | 7d3091a7b9e42efc382f0c1d33e9a34931734ee2 (patch) | |
tree | 3bd8015366aa38e55fc3d89e661965ef1f8e7f5f /src/plugins/ios | |
parent | dde94019272d652079c598ef1e73fc90fb8806bf (diff) |
ProjectExplorer: Remove ProjectConfiguration base from Target
Targets are different from {Run,Build,Deployment}Configurations,
both regarding the level in the ProjectExplorer hierarchy, and
also by the set of supported operations (e.g. aspects).
Change-Id: Ia8490e2280a9ecc518395c5e48ce2fd5d6d58fd2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/ios')
-rw-r--r-- | src/plugins/ios/iosbuildstep.cpp | 4 | ||||
-rw-r--r-- | src/plugins/ios/iosdsymbuildstep.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/ios/iosbuildstep.cpp b/src/plugins/ios/iosbuildstep.cpp index 6e1562bedc7..10c6427a5b4 100644 --- a/src/plugins/ios/iosbuildstep.cpp +++ b/src/plugins/ios/iosbuildstep.cpp @@ -129,6 +129,10 @@ public: if (pc && pc->isActive()) updateDetails(); }); + connect(pro, &Project::activeTargetChanged, this, [this](Target *target) { + if (target && target->isActive()) + updateDetails(); + }); } private: diff --git a/src/plugins/ios/iosdsymbuildstep.cpp b/src/plugins/ios/iosdsymbuildstep.cpp index 5c6f311a000..bdb8d7f9eeb 100644 --- a/src/plugins/ios/iosdsymbuildstep.cpp +++ b/src/plugins/ios/iosdsymbuildstep.cpp @@ -255,6 +255,10 @@ IosDsymBuildStepConfigWidget::IosDsymBuildStepConfigWidget(IosDsymBuildStep *bui if (pc && pc->isActive()) updateDetails(); }); + connect(pro, &Project::activeTargetChanged, this, [this](Target *target) { + if (target && target->isActive()) + updateDetails(); + }); } IosDsymBuildStepConfigWidget::~IosDsymBuildStepConfigWidget() |