aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-03-23 10:16:32 +0100
committerEike Ziller <eike.ziller@qt.io>2018-03-23 14:51:21 +0000
commit8abeba7cd428411e9c74ad211dcac096c208ab38 (patch)
tree93e5c97ec46ec2281d178dee653b0204fd02887d
parent4d1b9a1b533c9a781fba8f0c0409b06c496e7897 (diff)
Restrict stack build step to build step list
Change-Id: I64768f6dfc60d4904b12e8687beb3f5c3d6e8411 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--plugins/haskell/stackbuildstep.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/haskell/stackbuildstep.cpp b/plugins/haskell/stackbuildstep.cpp
index d392c03..1f5a253 100644
--- a/plugins/haskell/stackbuildstep.cpp
+++ b/plugins/haskell/stackbuildstep.cpp
@@ -29,6 +29,7 @@
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/project.h>
+#include <projectexplorer/projectexplorerconstants.h>
using namespace ProjectExplorer;
@@ -79,6 +80,7 @@ StackBuildStepFactory::StackBuildStepFactory()
{
registerStep<StackBuildStep>(C_STACK_BUILD_STEP_ID);
setDisplayName(StackBuildStep::StackBuildStep::trDisplayName());
+ setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_BUILD);
}
} // namespace Internal