aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/haskell/haskellplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/haskell/haskellplugin.cpp')
-rw-r--r--src/plugins/haskell/haskellplugin.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/haskell/haskellplugin.cpp b/src/plugins/haskell/haskellplugin.cpp
index 6da003c1a50..632b9514a98 100644
--- a/src/plugins/haskell/haskellplugin.cpp
+++ b/src/plugins/haskell/haskellplugin.cpp
@@ -17,8 +17,6 @@
#include <extensionsystem/iplugin.h>
#include <projectexplorer/jsonwizard/jsonwizardfactory.h>
-#include <projectexplorer/projectmanager.h>
-#include <projectexplorer/runcontrol.h>
#include <texteditor/snippets/snippetprovider.h>
@@ -51,8 +49,8 @@ public:
setupHaskellEditor();
- ProjectExplorer::ProjectManager::registerProjectType<HaskellProject>(
- Constants::C_HASKELL_PROJECT_MIMETYPE);
+ setupHaskellProject();
+
TextEditor::SnippetProvider::registerGroup(Constants::C_HASKELLSNIPPETSGROUP_ID,
Tr::tr("Haskell", "SnippetProvider"));