aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskellproject.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-11-27 12:29:14 +0100
committerEike Ziller <eike.ziller@qt.io>2017-11-27 12:34:01 +0000
commit6ee714619f6cdd95098c98e86c840ee56b2f07f4 (patch)
tree5a6496f7bf9c25ac270af05c1fb6ef068542ba1d /plugins/haskell/haskellproject.cpp
parent01c0fa565f95d75ea2745f246a17dc0e15dc7175 (diff)
Adapt to upstream API changes for run configuration factories
Change-Id: Ifc984f3eff16d109923db33f87906c49765f7864 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: hjk <hjk@qt.io>
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()