forked from qt-creator/qt-creator
Utils: Move FileUtils::resolvePath to FilePath
In line with the general move toward use of FilePath nowadays. Change-Id: I1c50e1479f7d9100ff8ded3ce3c22dd82b7fe6aa Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -86,9 +86,9 @@ FilePath QmakeBuildConfiguration::shadowBuildDirectory(const FilePath &proFilePa
|
||||
|
||||
const QString projectName = proFilePath.toFileInfo().completeBaseName();
|
||||
ProjectMacroExpander expander(proFilePath, projectName, k, suffix, buildType);
|
||||
QString projectDir = Project::projectDirectory(proFilePath).toString();
|
||||
FilePath projectDir = Project::projectDirectory(proFilePath);
|
||||
QString buildPath = expander.expand(ProjectExplorerPlugin::buildDirectoryTemplate());
|
||||
return FilePath::fromString(FileUtils::resolvePath(projectDir, buildPath));
|
||||
return projectDir.resolvePath(buildPath);
|
||||
}
|
||||
|
||||
const char BUILD_CONFIGURATION_KEY[] = "Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration";
|
||||
|
||||
Reference in New Issue
Block a user