aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellmanager.cpp
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2021-08-09 10:58:43 +0200
committerChristian Stenger <[email protected]>2021-08-09 09:18:16 +0000
commitdf52295ea33bf6e76ee5fbb39954a67e9d416709 (patch)
tree051f8203ae669d9287da095074b67c988e53fbf2 /plugins/haskell/haskellmanager.cpp
parente0f7cee82f4e52be275ac3024c245d669497315d (diff)
Adapt to upstream changes
Diffstat (limited to 'plugins/haskell/haskellmanager.cpp')
-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 a43b437..0f87c30 100644
--- a/plugins/haskell/haskellmanager.cpp
+++ b/plugins/haskell/haskellmanager.cpp
@@ -108,7 +108,7 @@ void HaskellManager::openGhci(const FilePath &haskellFile)
+ (isHaskell ? QStringList{haskellFile.fileName()} : QStringList());
auto p = new ConsoleProcess;
p->setCommand({stackExecutable(), args});
- p->setWorkingDirectory(haskellFile.toFileInfo().path());
+ p->setWorkingDirectory(haskellFile.absolutePath());
connect(p, &ConsoleProcess::processError, p, [p](const QString &errorString) {
Core::MessageManager::writeDisrupting(tr("Failed to run GHCi: \"%1\".").arg(errorString));
p->deleteLater();