aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellproject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/haskell/haskellproject.cpp')
-rw-r--r--plugins/haskell/haskellproject.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/haskell/haskellproject.cpp b/plugins/haskell/haskellproject.cpp
index 96855ee..420ea9e 100644
--- a/plugins/haskell/haskellproject.cpp
+++ b/plugins/haskell/haskellproject.cpp
@@ -86,11 +86,9 @@ HaskellProject *HaskellProject::toHaskellProject(Project *project)
return nullptr;
}
-QList<Core::Id> HaskellProject::availableRunConfigurationIds() const
+QList<QString> HaskellProject::availableExecutables() const
{
- return Utils::transform<QList>(parseExecutableNames(projectFilePath()), [](const QString &exe) {
- return Core::Id(Constants::C_HASKELL_RUNCONFIG_ID_PREFIX).withSuffix(exe);
- });
+ return parseExecutableNames(projectFilePath()).toList();
}
void HaskellProject::updateFiles()