diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/haskell/haskellmanager.cpp | 2 |
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] { |