aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-02-23 09:53:22 +0100
committerChristian Stenger <christian.stenger@qt.io>2022-02-23 09:34:26 +0000
commit9543a4dc84ea040afa911cfbfe9d449ae44de58c (patch)
treed841582cb3f2b4325c27faf422b46d3f2b18b132 /plugins
parent06f18f58e4320e3831ea8f98c208951ab86c5dcd (diff)
Adapt to upstream changes
Change-Id: If09dfa0d55d103df41e3b95048d4b76e90eb67f6 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/haskell/haskellmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/haskell/haskellmanager.cpp b/plugins/haskell/haskellmanager.cpp
index c1bdbea..e43bc5a 100644
--- a/plugins/haskell/haskellmanager.cpp
+++ b/plugins/haskell/haskellmanager.cpp
@@ -30,6 +30,7 @@
#include <utils/commandline.h>
#include <utils/hostosinfo.h>
#include <utils/mimetypes/mimedatabase.h>
+#include <utils/processenums.h>
#include <utils/qtcprocess.h>
#include <QCoreApplication>
@@ -107,7 +108,7 @@ void HaskellManager::openGhci(const FilePath &haskellFile)
const auto args = QStringList{"ghci"}
+ (isHaskell ? QStringList{haskellFile.fileName()} : QStringList());
auto p = new QtcProcess(m_instance);
- p->setTerminalMode(QtcProcess::TerminalOn);
+ p->setTerminalMode(TerminalMode::On);
p->setCommand({stackExecutable(), args});
p->setWorkingDirectory(haskellFile.absolutePath());
connect(p, &QtcProcess::errorOccurred, p, [p] {