From 4291fcd8b3cc4e5bcfe04f7e54ea02f6231737cc Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 29 May 2019 10:06:01 +0200 Subject: Adapt to upstream changes In FileName, and project management Change-Id: I8c549c56e2de6dd1fc3f9451e3964bad31327651 Reviewed-by: hjk --- plugins/haskell/haskellbuildconfiguration.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/haskell/haskellbuildconfiguration.cpp') diff --git a/plugins/haskell/haskellbuildconfiguration.cpp b/plugins/haskell/haskellbuildconfiguration.cpp index b09c7b4..0233e15 100644 --- a/plugins/haskell/haskellbuildconfiguration.cpp +++ b/plugins/haskell/haskellbuildconfiguration.cpp @@ -60,12 +60,12 @@ HaskellBuildConfigurationFactory::HaskellBuildConfigurationFactory() static QList createInfos(const HaskellBuildConfigurationFactory *factory, const Kit *k, - const Utils::FileName &projectFilePath) + const Utils::FilePath &projectFilePath) { BuildInfo info(factory); info.typeName = HaskellBuildConfigurationFactory::tr("Release"); info.displayName = info.typeName; - info.buildDirectory = projectFilePath.parentDir().appendPath(".stack-work"); + info.buildDirectory = projectFilePath.parentDir().pathAppended(".stack-work"); info.kitId = k->id(); info.buildType = BuildConfiguration::BuildType::Release; return {info}; @@ -84,7 +84,7 @@ QList HaskellBuildConfigurationFactory::availableBuilds(const Target QList HaskellBuildConfigurationFactory::availableSetups( const Kit *k, const QString &projectPath) const { - return createInfos(this, k, Utils::FileName::fromString(projectPath)); + return createInfos(this, k, Utils::FilePath::fromString(projectPath)); } HaskellBuildConfiguration::HaskellBuildConfiguration(Target *target, Core::Id id) -- cgit v1.2.3