aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellmanager.cpp
diff options
context:
space:
mode:
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();