forked from qt-creator/qt-creator
CMakePM: Use more direct access to SourceDirectoryAspect
Change-Id: Ifc91b13fcdc9c42ad4a9521656a2bf63e08aaf78 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -1633,12 +1633,12 @@ BuildSystem *CMakeBuildConfiguration::buildSystem() const
|
||||
|
||||
void CMakeBuildConfiguration::setSourceDirectory(const FilePath &path)
|
||||
{
|
||||
aspect<SourceDirectoryAspect>()->setValue(path.toString());
|
||||
aspect<SourceDirectoryAspect>()->setFilePath(path);
|
||||
}
|
||||
|
||||
FilePath CMakeBuildConfiguration::sourceDirectory() const
|
||||
{
|
||||
return FilePath::fromString(aspect<SourceDirectoryAspect>()->value());
|
||||
return aspect<SourceDirectoryAspect>()->filePath();
|
||||
}
|
||||
|
||||
QString CMakeBuildConfiguration::cmakeBuildType() const
|
||||
|
||||
Reference in New Issue
Block a user