aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/stackbuildstep.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-08-17 11:57:24 +0200
committerEike Ziller <eike.ziller@qt.io>2021-08-17 10:43:43 +0000
commit4cab24a7ca96bd042617a2936b52c9799f395030 (patch)
treef1284d5b98890ac58bf781031be43b2698affe4e /plugins/haskell/stackbuildstep.h
parent309e9ef8d7cbfa0af7368677709fa6a71162a4d4 (diff)
Fix initial build directory used in build step
In the BuildStep constructor the build configuration is not fully set up, leading to an empty build directory in there. It is not needed that we update the command directly on changes though (it is not visible in the projects mode UI anywhere), so just initialize the build step in its init() method. Change-Id: Iab168d15f1224c2e1ca66017244a80ed1059f417 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'plugins/haskell/stackbuildstep.h')
-rw-r--r--plugins/haskell/stackbuildstep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/haskell/stackbuildstep.h b/plugins/haskell/stackbuildstep.h
index 98938f5..d74d155 100644
--- a/plugins/haskell/stackbuildstep.h
+++ b/plugins/haskell/stackbuildstep.h
@@ -40,6 +40,9 @@ public:
QWidget *createConfigWidget() override;
static QString trDisplayName();
+
+protected:
+ bool init() override;
};
class StackBuildStepFactory : public ProjectExplorer::BuildStepFactory