aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-01-24 15:00:06 +0100
committerChristian Stenger <christian.stenger@qt.io>2022-01-24 14:58:14 +0000
commitc39a929d09b0b1a11a492083e472da4a2a504a9e (patch)
tree5a9990d81fe41cb28412c8edcc1002ab8645f2b5
parenteb77287d97bcc97f6097d4e3f4a792415f2f02c5 (diff)
Fix compile
Amends eb77287d97bc. Change-Id: I5568675d8d76db3f2b8429cfe78c234ddadbb695 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r--plugins/haskell/haskellmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/haskell/haskellmanager.cpp b/plugins/haskell/haskellmanager.cpp
index cd3d641..ca6995d 100644
--- a/plugins/haskell/haskellmanager.cpp
+++ b/plugins/haskell/haskellmanager.cpp
@@ -106,7 +106,7 @@ void HaskellManager::openGhci(const FilePath &haskellFile)
});
const auto args = QStringList{"ghci"}
+ (isHaskell ? QStringList{haskellFile.fileName()} : QStringList());
- auto p = new ConsoleProcess(this);
+ auto p = new ConsoleProcess(m_instance);
p->setCommand({stackExecutable(), args});
p->setWorkingDirectory(haskellFile.absolutePath());
connect(p, &ConsoleProcess::errorOccurred, p, [p] {