aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellrunconfiguration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/haskell/haskellrunconfiguration.cpp')
-rw-r--r--plugins/haskell/haskellrunconfiguration.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/haskell/haskellrunconfiguration.cpp b/plugins/haskell/haskellrunconfiguration.cpp
index 78ea231..f2f47c5 100644
--- a/plugins/haskell/haskellrunconfiguration.cpp
+++ b/plugins/haskell/haskellrunconfiguration.cpp
@@ -25,7 +25,6 @@
#include "haskellrunconfiguration.h"
-#include "haskellconstants.h"
#include "haskellmanager.h"
#include "haskellproject.h"
@@ -43,7 +42,7 @@ namespace Internal {
HaskellRunConfigurationFactory::HaskellRunConfigurationFactory()
{
- registerRunConfiguration<HaskellRunConfiguration>("Haskell.RunConfiguration");
+ registerRunConfiguration<HaskellRunConfiguration>(Constants::C_HASKELL_RUNCONFIG_ID);
addSupportedProjectType(Constants::C_HASKELL_PROJECT_ID);
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
}
@@ -96,7 +95,7 @@ Runnable HaskellRunConfiguration::runnable() const
r.commandLineArguments += " -- " + arguments;
r.workingDirectory = projectDirectory;
r.environment = aspect<LocalEnvironmentAspect>()->environment();
- r.executable = r.environment.searchInPath(HaskellManager::stackExecutable().toString()).toString();
+ r.executable = r.environment.searchInPath(HaskellManager::stackExecutable().toString());
return r;
}