aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellrunconfiguration.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-10-23 12:59:45 +0200
committerEike Ziller <eike.ziller@qt.io>2019-10-23 11:12:58 +0000
commit126fe0fa0b58e3d70ca1109336f784d5659c846f (patch)
treee3e709a002e17af626191858e5ceeb628f2f1749 /plugins/haskell/haskellrunconfiguration.cpp
parent160059525a52aa43e6ef694dec8a65691d35bd75 (diff)
Adapt to changes in Qt Creator 4.11
Change-Id: Ife586f245ffb60626372701e649b8f1df9e5aea5 Reviewed-by: hjk <hjk@qt.io>
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;
}