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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/haskell/haskellrunconfiguration.cpp b/plugins/haskell/haskellrunconfiguration.cpp
index 89a33c3..9281914 100644
--- a/plugins/haskell/haskellrunconfiguration.cpp
+++ b/plugins/haskell/haskellrunconfiguration.cpp
@@ -33,7 +33,6 @@
#include <projectexplorer/localenvironmentaspect.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/runconfigurationaspects.h>
-#include <projectexplorer/runnables.h>
#include <projectexplorer/target.h>
using namespace ProjectExplorer;
@@ -90,7 +89,7 @@ void HaskellRunConfiguration::doAdditionalSetup(const RunConfigurationCreationIn
Runnable HaskellRunConfiguration::runnable() const
{
const QString projectDirectory = target()->project()->projectDirectory().toString();
- StandardRunnable r;
+ Runnable r;
if (BuildConfiguration *buildConfiguration = target()->activeBuildConfiguration())
r.commandLineArguments += "--work-dir \""
+ QDir(projectDirectory)