From afcdcb2a8e68d5f8d3ee7f900c3737db4bb81339 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 24 Jan 2023 14:29:51 +0100 Subject: Adapt to upstream change Change-Id: I2d3535f579f0e5c9e350bc548e59fc43189b2a8b Reviewed-by: hjk --- plugins/haskell/haskellplugin.cpp | 1 + plugins/haskell/haskellrunconfiguration.cpp | 1 + plugins/haskell/haskellrunconfiguration.h | 9 --------- 3 files changed, 2 insertions(+), 9 deletions(-) (limited to 'plugins/haskell') diff --git a/plugins/haskell/haskellplugin.cpp b/plugins/haskell/haskellplugin.cpp index e917116..c3ae400 100644 --- a/plugins/haskell/haskellplugin.cpp +++ b/plugins/haskell/haskellplugin.cpp @@ -54,6 +54,7 @@ public: HaskellBuildConfigurationFactory buildConfigFactory; StackBuildStepFactory stackBuildStepFactory; HaskellRunConfigurationFactory runConfigFactory; + ProjectExplorer::SimpleTargetRunnerFactory runWorkerFactory{{Constants::C_HASKELL_RUNCONFIG_ID}}; }; HaskellPlugin::~HaskellPlugin() diff --git a/plugins/haskell/haskellrunconfiguration.cpp b/plugins/haskell/haskellrunconfiguration.cpp index 2df820e..7457471 100644 --- a/plugins/haskell/haskellrunconfiguration.cpp +++ b/plugins/haskell/haskellrunconfiguration.cpp @@ -25,6 +25,7 @@ #include "haskellrunconfiguration.h" +#include "haskellconstants.h" #include "haskellmanager.h" #include "haskellproject.h" diff --git a/plugins/haskell/haskellrunconfiguration.h b/plugins/haskell/haskellrunconfiguration.h index 1af3bd9..27e4a83 100644 --- a/plugins/haskell/haskellrunconfiguration.h +++ b/plugins/haskell/haskellrunconfiguration.h @@ -25,8 +25,6 @@ #pragma once -#include "haskellconstants.h" - #include #include #include @@ -50,13 +48,6 @@ class HaskellRunConfigurationFactory : public ProjectExplorer::RunConfigurationF { public: HaskellRunConfigurationFactory(); - -private: - ProjectExplorer::RunWorkerFactory runWorkerFactory{ - ProjectExplorer::RunWorkerFactory::make(), - {ProjectExplorer::Constants::NORMAL_RUN_MODE}, - {Constants::C_HASKELL_RUNCONFIG_ID}, - {ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE}}; }; class HaskellExecutableAspect : public Utils::StringAspect -- cgit v1.2.3