forked from qt-creator/qt-creator
ProjectExplorer: Introduce and use a new MultiSelectionAspect
Only provide the minimum functionality to make it usable for the target selection in Make steps. Task-number: QTCREATORBUG-25088 Change-Id: I6458a0bd544d2fff596df3240c69e05d7bdea14b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -43,13 +43,13 @@ public:
|
||||
GenericMakeStep::GenericMakeStep(BuildStepList *parent, Utils::Id id)
|
||||
: MakeStep(parent, id)
|
||||
{
|
||||
setAvailableBuildTargets({"all", "clean"});
|
||||
if (parent->id() == ProjectExplorer::Constants::BUILDSTEPS_BUILD) {
|
||||
setBuildTarget("all");
|
||||
setSelectedBuildTarget("all");
|
||||
} else if (parent->id() == ProjectExplorer::Constants::BUILDSTEPS_CLEAN) {
|
||||
setBuildTarget("clean");
|
||||
setSelectedBuildTarget("clean");
|
||||
setIgnoreReturnValue(true);
|
||||
}
|
||||
setAvailableBuildTargets({"all", "clean"});
|
||||
}
|
||||
|
||||
GenericMakeStepFactory::GenericMakeStepFactory()
|
||||
|
||||
Reference in New Issue
Block a user